home *** CD-ROM | disk | FTP | other *** search
/ Especial Multimedia / Especial Multimedia.iso / Multimed / Prg / PROGRESS.ZIP / PDINST.ZIP / INSTALL.ZIP / PKZIP.DOC < prev    next >
Text File  |  1993-02-01  |  200KB  |  5,566 lines

  1.  
  2.          ┌─────────────────────────────────────────────┐                │
  3.          │                 PKZIP 2                     ├┐               │
  4.          │                                             ││               │
  5.          │ The next generation in compression software ││               │
  6.          │                                             ││               │
  7.          │              *SHAREWARE MANUAL*             ││               │
  8.          └┬────────────────────────────────────────────┘│               │
  9.           └─────────────────────────────────────────────┘               │
  10.                                         │
  11.                                         │
  12.                                         │
  13.                                         │
  14.                                         │
  15.                                         │
  16.                                         │
  17.                                      PKZIP  │
  18.                                    PKUNZIP  │
  19.                                      PKSFX  │
  20.                                   PKZIPFIX  │
  21.                                    PKUNZJR  │
  22.                                        ┌┤
  23.                            Shareware Publishing        ││
  24.                            3a Queen Street             ││
  25.                            Seaton Devon EX12 2NY       ││
  26.                                        ││
  27.                               Phone (0297) 24088   ││
  28.                               Fax   (0297) 24091   ││
  29.                 ═══════════════════════════════════════════╧╛
  30.  
  31. Copyright 1989-1993 PKWARE Inc. All Rights Reserved.
  32.  
  33. U.S. Patent No. 5,051,745
  34.  
  35. No part of this publication may be reproduced, transmitted,
  36. transcribed, stored in a retrieval system, or translated into any other
  37. language or computer language in whole or in part, in any form or
  38. by any means, whether it be electronic, mechanical, magnetic,
  39. optical, manual or otherwise, without prior written consent of PKWARE, Inc.
  40.  
  41. PKWARE, Inc. disclaims all warranties as to this software, whether express
  42. or implied, including without limitation any implied warranties of
  43. merchantability, fitness for a particular purpose, functionality, data
  44. integrity or protection.
  45.  
  46. PKWARE, the PKWARE logo, PKZIP, PKUNZIP, and PKSFX are
  47. registered trademarks of PKWARE, Inc.
  48.  
  49. StupenDOS is a trademark of Eclipse Technologies, Inc.
  50.  
  51. MS-DOS is a trademark of Microsoft Corporation.
  52.  
  53. Netware and Novell are registered trademarks of Novell, Inc.]
  54.  
  55. Shareware Publishing, Shareware Marketing, and Support Services are
  56. all trading styles of Shareware plc. Registered in England No: 2274036.
  57.  
  58.  
  59. Trademarks of other companies mentioned in this documentation appear for
  60. identification purposes only and are the property of their respective
  61. companies.
  62.  
  63. *** PLEASE NOTE ***
  64. This is a condensed version of the manual provided with the registered
  65. version of PKZIP.  Some sections have been condensed or omitted in this
  66. shareware version.  Most notably, the tutorial had to be omitted.
  67.  
  68. See the ADDENDUM.DOC file for information about the benefits of registering
  69. PKZIP.
  70.  
  71.                                     CONTENTS
  72. ════════════════════════════════════════════════════════════════════════════
  73.  
  74. ________________________________________________________________
  75. Introduction                                                   1
  76.  
  77.      Product Support ......................................... 3
  78.  
  79. ________________________________________________________________
  80. Installation                                                   5
  81.  
  82.      Installing PKZIP On Your Hard Drive ..................... 5
  83.  
  84.       The Addendum File .................................. 7
  85.  
  86. ________________________________________________________________
  87. Tutorial                                                       8
  88.  
  89.      Getting Started ......................................... 8
  90.  
  91.      Simple PKZIP and PKUNZIP usage ......................... 10
  92.  
  93.       Zipping a Single File ............................. 12
  94.  
  95.       Zipping Multiple Files ............................ 14
  96.  
  97.       Testing .ZIP files ................................ 15
  98.  
  99.      Storing and Rebuilding Directory Structures ............ 16
  100.  
  101.       Deleting Files from a .ZIP file ................... 19
  102.  
  103.      Speed vs. Size ......................................... 21
  104.  
  105.      Selecting the Compression Type ......................... 23
  106.  
  107.      Using Advanced Features ................................ 24
  108.  
  109.       Extracting Files to a Device ...................... 24
  110.  
  111.       Storing and Restoring the Volume Label ............ 25
  112.  
  113.       Compressing and Extracting Hidden and System Files  26
  114.  
  115.       Zipfile and File Comments ......................... 27
  116.  
  117.      Suggested Reading ...................................... 29
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124. ════════════════════════════════════════════════════════════════════════════
  125. Shareware Publishing                   Contents                                     i
  126.  
  127. ________________________________________________________________
  128. PKZIP Command Reference                                       30
  129. ________________________________________________________________
  130. PKTMP                                                         47
  131. ________________________________________________________________
  132. PKUNZIP Command Reference                                     48
  133. ________________________________________________________________
  134. PKSFX/ZIP2EXE                                                 57
  135.  
  136.      Creating a Self-Extracting File ........................ 57
  137.  
  138.      PKSFX Junior ........................................... 57
  139.  
  140.      PKUNZIP Junior ......................................... 58
  141.  
  142.      PKSFX Command Summary .................................. 59
  143.  
  144.      Modifying a Self-Extracting File ....................... 60
  145.  
  146.      Stripping the PKSFX Code ............................... 60
  147.  
  148.      Sending a Self-Extractor ............................... 60
  149.  
  150.       With PKSFX Junior ................................. 61
  151.  
  152.       With PKSFX ........................................ 61
  153.  
  154.      Confirm before extract ................................. 62
  155.  
  156.      Memory Requirements .................................... 62
  157. ________________________________________________________________
  158. Using List Files                                              63
  159.  
  160.      Reading List Files ..................................... 64
  161.  
  162.      Generating List Files .................................. 65
  163.  
  164.      List file size ......................................... 66
  165.  
  166. ________________________________________________________________
  167. Using Data Encryption                                         68
  168.  
  169.       Long Keys ......................................... 69
  170.  
  171.       Complex Keys ...................................... 69
  172.  
  173.       Multiple Keys ..................................... 70
  174.  
  175.       How secure is PKZIP encryption? ................... 72
  176.  
  177.  
  178.  
  179.  
  180. ════════════════════════════════════════════════════════════════════════════
  181. ii                            Contents                               PKZIP 2
  182.  
  183. ________________________________________________________________
  184. PKZIP Configuration ......................................... 74
  185.  
  186.      PKZIP.CFG .............................................. 75
  187.  
  188. ________________________________________________________________
  189. Authenticity Verification                                     78
  190.  
  191.      Using PUTAV ............................................ 78
  192.  
  193.      Application for Authenticity Verification                81
  194.  
  195. ________________________________________________________________
  196. F.A.Q. (Frequently Asked Questions) ......................... 82
  197.  
  198. ________________________________________________________________
  199. How Does PKZIP Work?                                          91
  200.  
  201.      Compression ............................................ 91
  202.  
  203.       Information content ............................... 91
  204.  
  205.       Binary Data Representation ........................ 92
  206.  
  207.       Speed vs. Size .................................... 95
  208.  
  209.      Archiving .............................................. 95
  210.  
  211.       How PKZIP Builds a .ZIP File ...................... 97
  212.  
  213.       Building a New .ZIP File .......................... 97
  214.  
  215.       The .ZIP File Structure ........................... 98
  216.  
  217. ________________________________________________________________
  218. Trouble-Shooting                                             101
  219.  
  220.       Determining the Problem .......................... 101
  221.  
  222.       Customer Support Form ............................ 105
  223.  
  224. ________________________________________________________________
  225. ERROR MESSAGES                                               107
  226.  
  227.      Error Levels .......................................... 118
  228.  
  229. ________________________________________________________________
  230. PK Safe ANSI                                                 120
  231.  
  232.       Usage ............................................ 120
  233.  
  234.       Monochrome Option ................................ 121
  235.  
  236. ════════════════════════════════════════════════════════════════════════════
  237. Shareware Publishing                   Contents                                   iii
  238.  
  239. FEATURES
  240. ════════════════════════════════════════════════════════════════════════════
  241.  
  242.  
  243. The PKZIP 2 software utilities include many features.  Here are just
  244. a few of them:
  245.  
  246. Improved Compression.  PKZIP 2 implements a new compression
  247. algorithm called Deflating.  Deflating has varying levels of compression
  248. and speed available, allowing you to specify the method of compression
  249. to be employed.  Both the speed and amount of compression are improved
  250. over previous versions of PKZIP.
  251.  
  252. Multi-volume archive support.  PKZIP 2 can create .ZIP files
  253. larger than a single floppy disk.
  254.  
  255. Subdirectory storage.  PKZIP 2 can find and store subdirectory
  256. pathnames within a .ZIP file.  Files can then be restored to their
  257. original subdirectories, or they may be re-created.  Storage includes
  258. empty subdirectories.
  259.  
  260. Automatic detection and utilization of  80386 and 80486 CPU's,
  261. EMS and XMS memory, Novell Netware, and 32-bit DPMI.  PKZIP 2 gets
  262. the most out of your machine by using the power of modern CPU's.  EMS
  263. and XMS support offer the ability to process more files with less
  264. available conventional memory.  Novell Netware and 32-bit DPMI support
  265. offer speed improvements.
  266.  
  267. The above features also allow you to get the best performance when
  268. in a DOS session under OS/2 or Windows.  OS/2 and Windows offer EMS,
  269. XMS and 32-bit DPMI without your using extra drivers.
  270.  
  271. Memory Requirements.  PKZIP requires a minimum of 183K of conventional
  272. memory.  If EMS is available, the conventional memory requirement
  273. is 85K.  PKUNZIP requires 90K of conventional memory.  PKSFX requires
  274. a minumum of 71K of memory.
  275.  
  276. Easy to use configuration program.  PKZIP 2 can be configured
  277. to best suit your needs through the use of the PKCFG program.
  278.  
  279. PKSFX Junior and PKUNZIP Junior.  These "Junior" programs use
  280. very little memory and are extremely small.  Although they are reduced in
  281. ability, their small size makes them very useful.
  282.  
  283. Password Encryption.  Sensitive data files can be scrambled
  284. with password protection.  The security of this feature has been improved
  285. in PKZIP 2.
  286.  
  287. Authenticity Verification.  Users requiring authentication of
  288. archive files may request an Authenticity Verification code.  This
  289. allows users to create .ZIP files which reveal tampering.
  290.  
  291.  
  292. ════════════════════════════════════════════════════════════════════════════
  293. iv                            Features                               PKZIP 2
  294.  
  295.                                 INTRODUCTION
  296. ════════════════════════════════════════════════════════════════════════════
  297.  
  298.  
  299. Welcome to PKZIP 2.0.  This release continues the high performance tradition
  300. of previous versions of PKZIP, with a host of new features.  In addition to
  301. an improved reference section, this manual contains a step-by-step tutorial.
  302. By following the Installation, Tutorial and Advanced Features sections in
  303. order you will learn how to use PKZIP to your best advantage.  Use the
  304. Command Reference sections in your day-to-day use of PKZIP. Convenient
  305. indices to these sections are printed on the inside of the front and back
  306. covers.
  307.  
  308. PKZIP is a powerful program. It has many options, but it is possible to make
  309. use of PKZIP by knowing only a few simple options.  You can start out with a
  310. basic understanding and learn more if and when you need to use additional
  311. features.
  312.  
  313. It is recommended that you first read through this introduction and the
  314. installation procedure.  Then perform the installation and work through the
  315. Tutorial in order.
  316.  
  317. Follow up with the Advanced Features section of the Tutorial.  You should not
  318. attempt to use the PKZIP Backup Guide until you have completed (and
  319. understand) the entire tutorial.
  320.  
  321. Conventions
  322.  
  323. This manual follows several conventions for clarity and to help you find
  324. information quickly.  Text that you would see on your computer screen is
  325. shown here in a "typewriter" typeface.  Text that would be entered by you
  326. in these examples is shown in bold:
  327.  
  328. C:\DOS>dir
  329.  
  330. Bold text is also used for emphasis and to point out terms which are then
  331. shown in vocabulary boxes.
  332.  
  333. Vocabulary
  334. ────────────────────────────────────────────────────────────────────────────
  335. Terms that are felt to be technical enough to require explanation are listed
  336. in convenient vocabulary blocks.  These vocabulary terms are with the first
  337. instance of the word, so that you may read them and continue on without
  338. needing to search for the glossary.  This block is an example.
  339. ────────────────────────────────────────────────────────────────────────────
  340.  
  341. **  Anything that we want to be sure you don't miss will be pointed out in
  342.     the same manner as this paragraph.
  343.  
  344.  
  345.  
  346.  
  347.  
  348. ════════════════════════════════════════════════════════════════════════════
  349. Shareware Publishing          Introduction                                 1
  350.  
  351.  
  352. Command Syntax
  353.  
  354. Standard command specification syntax is used throughout the Command
  355. Reference section.  This is used to differentiate between command option
  356. parameters which are optional or mandatory, and to indicate when certain
  357. options may be combined:
  358.  
  359. < >     Angle Brackets are used to indicate a command option parameter which
  360. must be present.  The option parameter will follow immediately after the
  361. option with no space.
  362.  
  363. [ ]     Square Brackets indicate a command option parameter which is not
  364. mandatory.
  365.  
  366. , |     If there are several possible options which may be used in the
  367. position indicated by the angle or square brackets, they will be separated by
  368. either a Comma or a Vertical Bar.  If options are separated by a comma, then
  369. more than one of the options may be used simultaneously.  If they are
  370. separated by a vertical bar, the options are exclusive of one another and
  371. only one may be used at a time.
  372.  
  373. Following are some abstract examples of how these syntax rules are applied.
  374.  
  375. Syntax               Valid Entries
  376. ---------------------------------------------------
  377. -z<a,b,c>           -za, -zab, -zac, -zbc, -zabc
  378.  
  379. -z<a|b|c>           -za, -zb, -zc
  380.  
  381. -z[a,b]             -za, -zb, -zab, -z
  382.  
  383. -z<a|b,c>           -za, -zb, -zac, -zbc
  384.             -zab or -zabc would be invalid.
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404. ════════════════════════════════════════════════════════════════════════════
  405. 2                            Introduction                            PKZIP 2
  406.  
  407. Product Support
  408.  
  409. We hope that your use of PKZIP and PKUNZIP will be enjoyable and trouble-
  410. free.  It is our intention to provide the best possible product and
  411. documentation. We understand that problems may arise, and in most cases you
  412. will be able to resolve any problems you may have by referring to the
  413. documentation.  Answers to questions you might have will usually be found
  414. within these pages.
  415.  
  416. You may reach our Product Support staff in several convenient ways.
  417.  
  418. Support Conferences
  419.  
  420. PKWARE maintains support conferences on several BBS Networks.  Such as ILink,
  421. SmartNet and Rime.  You may leave a question in the PKWARE support conference
  422. on any of these networks.  A Support Technician or fellow user will answer
  423. your questions.  Many other BBS networks also offer PKWARE conferences, but
  424. these are not necessarily monitored by PKWARE.
  425.  
  426. PKWARE BBS
  427.  
  428. PKWARE also maintains its own BBS.  The PKWARE BBS is normally available 24
  429. hours a day.  The BBS supports all baud rates from 1200 up to 14.4K.  Set
  430. your communications software for 8 bits, 1 stop bit, no parity.
  431.  
  432. The PKWARE BBS offers the latest in PKWARE shareware as well as many other
  433. files for downloading.  The PKWARE BBS has multiple phone lines for your
  434. convenience.
  435.  
  436. PKWARE BBS (calling from the UK)
  437. 010 1 414 354 8670
  438.  
  439. CompuServe
  440.  
  441. PKWARE Support Technicians maintain a discussion forum on CompuServe.  To
  442. get to the forum, simply type "GO PKWARE" from any CompuServe prompt.
  443.  
  444. PKWARE CompuServe ID 75300,730
  445.  
  446. For the convenience of customers in the United Kingdom the Support
  447. Services department of Shareware plc provides 90 days free telephone
  448. assistance to registered users of PKZIP.  Questions can also be sent
  449. by FAX or by letter.
  450.  
  451. Shareware Publishing's Compuserve ID 70007,4725
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465. ════════════════════════════════════════════════════════════════════════════
  466. Shareware Publishing          Introduction                                 3
  467.  
  468.  
  469. Internet/Usenet
  470.  
  471. PKWARE products are frequently discussed in the newsgroup "comp.compression".
  472. Internet newsgroups are not supported directly by PKWARE.
  473.  
  474. Through Internet
  475. PKWARE.Inc@mixcom.com
  476.  
  477. Voice and Fax
  478.  
  479. You may reach a Shareware Publishing Support Technician by sending a
  480. Fax containing your question.
  481.  
  482. FAX  0297 24091
  483.  
  484. If your question is urgent, or you do not have access to any of the above
  485. methods of communication, a Technical Support may be reached by phone.
  486.  
  487. Voice Support 0297 24089 (12:30pm - 5:30pm Monday-Friday)
  488.  
  489.  
  490. Information to Give
  491.  
  492. When contacting Technical Support in any of the above methods, please
  493. be prepared to provide as much information about the problem as possible.
  494. Include the version numbers for: PKZIP, DOS, and any Memory and Device
  495. Drivers you are using.  Include the command(s) you have tried to use, and
  496. what the results were and note why you feel you have a problem.
  497.  
  498. When faxing a problem, a print out of any error messages is often helpful in
  499. determining a solution.
  500.  
  501. Please see the Trouble Shooting section for additional information.
  502.  
  503. Shareware Publishing
  504. 3a Queen Street     
  505. Seaton  Devon EX12 2NY
  506. 0297 24088 Sales
  507. 0297 24091 FAX
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517. ════════════════════════════════════════════════════════════════════════════
  518. 4                            Introduction                            PKZIP 2
  519.  
  520.                                 INSTALLATION
  521. ════════════════════════════════════════════════════════════════════════════
  522.  
  523.  
  524. PKZIP works best when it is located in your path.  You can put PKZIP in your
  525. path by either copying it into an already existing subdirectory that is in
  526. your path, or by copying it into its own subdirectory and putting that
  527. subdirectory into your path.
  528.  
  529. Throughout this manual many examples will show the command prompt. This will
  530. look like "C:\>" or "C:\PKWARE>" or something similar.  This represents the
  531. command prompt displayed by your computer and is not to be typed in.  If you
  532. do not see a prompt that looks like this when you are using DOS, try typing
  533. the command "PROMPT $P$G". This will set your prompt to resemble those used
  534. here.  You may also want to add the "PROMPT $P$G" command to your
  535. AUTOEXEC.BAT file.
  536.  
  537. Path
  538. ────────────────────────────────────────────────────────────────────────────
  539. There are two meanings for path as used under MS-DOS.  It may refer to the
  540. location of a file, or it may refer to the places DOS will search for a
  541. command.
  542.  
  543. In the first instance, a path would be the directory or subdirectories that a
  544. file is located in.  If a file called "HOURS.PYS" is in a subdirectory called
  545. "JUNE" under a directory called "PAYROLL" on the D: hard disk, it's full path
  546. would be "D:\PAYROLL\JUNE\HOURS.PYS".
  547.  
  548. In the second instance, the path is a list of places stored in an environment
  549. variable called "path".  If you type "path" at the DOS prompt and press enter
  550. you will see the path that is currently set on your computer.  It will
  551. usually look something like this:
  552.  
  553. C:\;C:\DOS;C:\UTIL;D:\WINDOWS
  554.  
  555. It will look different on your machine).  The path is set by a statement in
  556. the AUTOEXEC.BAT file.  For more information, please see your DOS manual.
  557. ────────────────────────────────────────────────────────────────────────────
  558.  
  559. Installing PKZIP On Your Hard Drive
  560.  
  561. Your computer should be turned on and at the DOS prompt.  If your computer
  562. normally runs a program automatically when you turn it on, you will need to
  563. exit from this program.  You should have a prompt on your screen similar to:
  564.  
  565. C:\>
  566.  
  567. **  This installation example shows PKZIP being run from the C:\PKWARE
  568.     directory.  PKZIP may be run from any drive in any directory.
  569.  
  570.  
  571.  
  572.  
  573. ════════════════════════════════════════════════════════════════════════════
  574. Shareware Publishing          Installation                                 5
  575.  
  576.  
  577. Place the diskette containing the original PKZIP distribution in your floppy
  578. drive, either A: or B:.  Next, create a subdirectory for PKZIP on your hard
  579. drive.  To do so type:
  580.  
  581. C:\>MD \PKWARE
  582.  
  583. Then change to this subdirectory.
  584.  
  585. C:\>CD \PKWARE
  586. C:\PKWARE>
  587.  
  588. Now enter the name of the self-extractor on your PKZIP disk, include the drive
  589. letter as part of the name.
  590.  
  591. C:\PKWARE>A:PKZ200
  592.  
  593. Note that the name of the self-extractor used throughout this manual
  594. (PKZ200.EXE) may vary but will follow the pattern of PKZ###.EXE where ###
  595. represents the version number of the software.
  596.  
  597. The contents of this file will now extract into the PKWARE subdirectory.
  598.  
  599. The A: and C: drives in the above command are only for example, and may be
  600. replaced with other drive letters as appropriate to your particular setup.
  601.  
  602. You must next modify your AUTOEXEC.BAT file.  You can edit this file with any
  603. editor that can load and save DOS TEXT or plain ASCII files (For example,
  604. "edit" in DOS 5.0, Windows Write, or any word processor with a DOS TEXT
  605. editing ability. Consult your word processor's manual if you are unsure).
  606.  
  607. If you have DOS 5.0 type:
  608.  
  609. C:\>edit autoexec.bat
  610.  
  611. Look for a line in the file that says something similar to:
  612.  
  613. PATH=C:\;C:\DOS;(etc...)
  614.  
  615. Go to the end of this line and add a semicolon if one is not already there,
  616. and the drive and path to PKZIP that you just created. For example
  617. "...;C:\PKWARE"
  618.  
  619. The line will now look similar to this:
  620.  
  621. PATH=C:\;C:\DOS;C:\PKWARE
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629. ════════════════════════════════════════════════════════════════════════════
  630.  6                           Installation                            PKZIP 2
  631.  
  632.  
  633. You will most likely have additional items between the C:\DOS; and C:\PKWARE.
  634.  
  635. Next add a line that looks like this:
  636.  
  637. set pkzip.cfg=c:\pkware
  638.  
  639. The directory specified must be equal to the directory where PKZIP.CFG is
  640. located. If you have followed this installation procedure exactly, the above
  641. line will work fine.  This line should be near the top of the AUTOEXEC.BAT
  642. file.
  643.  
  644. Save the file and exit.  You will have to re-boot your computer to make the
  645. change take effect.
  646.  
  647. After you reboot type "path" at the command line and press [ENTER].  Your
  648. machine will show the path.  Make certain that the subdirectory you placed
  649. the PKWARE files in is shown in the path.
  650.  
  651. You may now verify that PKZIP is installed by typing "PKZIP" at the DOS
  652. command prompt.  After you press [ENTER] you should see a banner screen from
  653. PKZIP.  Try PKUNZIP as well.  You should be able to type PKUNZIP or PKZIP in
  654. any directory and drive, not just in the PKWARE subdirectory.
  655.  
  656. If you receive the message "Bad command or file name" or "Unknown command",
  657. PKZIP is not properly installed.  Check the location of the files you
  658. extracted from the distribution file. Also check the lines that were added to
  659. the AUTOEXEC.BAT file.  Make certain you have rebooted since the changes were
  660. made to the AUTOEXEC.BAT file.
  661.  
  662. The Addendum File
  663.  
  664. In addition to the files that make up the PKZIP program, you also have a text
  665. file containing any last minute changes or updates to the documentation.  You
  666. need to print the addendum file in order to be aware of anything that is not
  667. mentioned in the manual, or has changed since this manual was printed.
  668.  
  669. To print the addendum, load the text file ADDENDUM.DOC into your
  670. wordprocessor and print it.
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685. ════════════════════════════════════════════════════════════════════════════
  686. Shareware Publishing          Installation                                 7
  687.  
  688. TUTORIAL
  689. ════════════════════════════════════════════════════════════════════════════
  690.  
  691. A comprehensive tutorial is provided with the registered version of PKZIP.
  692. This tutorial has been omitted from the shareware version to save
  693. download transmission time.
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741. ════════════════════════════════════════════════════════════════════════════
  742. Shareware Publishing          Tutorial                                  8-29
  743.  
  744. PKZIP
  745. ════════════════════════════════════════════════════════════════════════════
  746. Command Reference
  747.  
  748. Items contained in square brackets([ ]) are optional parameters to an option
  749. and need not be included.  Where there are two (or more) items separated by a
  750. comma, you may use any ONE of those options following the main option
  751. character.  If there are parameters in angle brackets(<>) you must include
  752. that option, or choose one of those in the series.  When choosing options
  753. from a bracketed series, you may use more than one of these options if they
  754. are separated by a comma. If the options are separated by a vertical bar (|)
  755. you may only choose one option.  See page 2 for examples.
  756.  
  757. Command Option Guide
  758.  
  759. _____________________________________
  760. -a+  Turn off archive attribute of added files.
  761.  
  762. By using this option you can create a complete backup of your disk, while
  763. clearing the archive attributes to make the way for incremental archiving.
  764.  
  765. Incremental archiving makes use of the archive attribute to take only the
  766. files which have been modified since the last backup.  In order for this
  767. process to work smoothly you must first have a complete backup and a clearing
  768. of the archive attribute for all files.
  769.  
  770.    C:>pkzip f:backup.zip -a+ -rp
  771.  
  772. _____________________________________
  773. -b<drive:path>  Create temporary .ZIP file on alternate drive
  774.  
  775. Every time a .ZIP file is updated, PKZIP creates a temporary work file. When
  776. the modifications to the .ZIP file are successfully completed, the original
  777. .ZIP file is replaced with the temporary work file.  This means you must have
  778. at least as much additional disk space available as was used by the original
  779. .ZIP file.
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797. ════════════════════════════════════════════════════════════════════════════
  798. 30                              PKZIP                                PKZIP 2
  799.  
  800.  
  801. For Example: If you have an existing .ZIP file of 500K, and you are adding
  802. another file to it that takes 10K compressed, you need additional workspace
  803. of at least 510K during the update process.
  804.  
  805. This command option will allow you to create the temporary .ZIP file on a
  806. drive different from the one on which the original .ZIP file resides.  This
  807. allows you to update large .ZIP files when space is limited, such as a large
  808. .ZIP file on a floppy disk.  Also, by setting this temporary drive to point
  809. to a RAM drive, you can speed up the operation of PKZIP.
  810.  
  811. Immediately following the -b option place the drive and/or path you wish to
  812. use for the temporary work file.
  813.  
  814.    A:>pkzip test.zip -bc: order.doc
  815.  
  816.    C:>pkzip wp.zip -bz:\public wp51\*.*
  817.  
  818. **  It is necessary to specify a path in addition to the drive letter only
  819.     if you are in a situation where disk space or access is being limited by
  820.     subdirectory, such as on a local area network.
  821.  
  822. _____________________________________
  823. -c      Create/Edit file comments for all files
  824. -ac     Create/Edit file comments for all files during update
  825. -C      Add comments for new files only
  826.  
  827. Each individual file contained within a .ZIP file may have a comment attached
  828. to it.  Comments are useful for identifying files, especially if you need to
  829. go back months later to look at a file, or if you are sending the file to
  830. someone else.  Each comment may be up to 59 characters long, including spaces
  831. and punctuation.
  832.  
  833. The -c (lower case) option is used when you want to add or edit file comments
  834. for all files within an existing .ZIP file.
  835.  
  836. The -ac option may be used during the .ZIP file creation process, or during
  837. an update/freshen process.  This will add comments for new files as well as
  838. allowing you to edit/add comments for files that were already in the .ZIP
  839. file.
  840.  
  841.    pkzip test.zip -ac license.doc
  842.  
  843. When each file is added to the .ZIP file you will be prompted for a comment.
  844. Type a comment of up to 59 characters, and press [ENTER].  If you are
  845. updating an existing .ZIP file and there are files which already have
  846. comments, the comment will be displayed on the prompt line for you to edit.
  847. You may make changes or simply press [ENTER] to leave it unchanged.
  848.  
  849.  
  850.  
  851.  
  852.  
  853. ════════════════════════════════════════════════════════════════════════════
  854. Shareware Publishing               PKZIP                                  31
  855.  
  856. The -C (upper case) option is used when you want to add a file comment to new
  857. files that are being added to an existing .ZIP file.  Files which are not
  858. being added, or files which already existed in the .ZIP file will not be
  859. prompted for comments.
  860.  
  861.    pkzip test.zip -C *.doc
  862.  
  863. In this situation, you would be adding additional files to the file called
  864. test.zip. Since the file license.doc was added to it in the previous example,
  865. you would not be prompted for a comment for this file.
  866.  
  867. _____________________________________
  868. -d Delete files
  869.  
  870. This command will allow you to remove individual files from within a .ZIP
  871. file.  This command is only applicable to already existing .ZIP files.
  872.  
  873.    pkzip test.zip -d license.doc
  874.  
  875. In the above example the file license.doc would be removed from the .ZIP file
  876. test.zip (assuming that it was in the .ZIP file in the first place).
  877.  
  878. **  The deletion of files from within a .ZIP file causes a situation where
  879. a temporary .ZIP file will exist during the deletion process.  In order to
  880. delete a file from a .ZIP file there must be as much disk space free as will
  881. be occupied by the modified .ZIP file.
  882.  
  883. Multiple files may be deleted at one time.  You may do this either by placing
  884. multiple file names on the command line, or by specifying a list file
  885. containing the names of files you want deleted.  (See Using List Files)
  886.  
  887.    pkzip july.zip -d file1.wk file2.wk1
  888.  
  889.    pkzip tue_back.zip -d @old.lst
  890.  
  891. _____________________________________
  892. -e[x|n|f|s] Specify compression method
  893.  
  894. -ex         Maximum compression (most compression, most time)
  895. -en         Normal compression (default)
  896. -ef         Fast compression
  897. -es         Super Fast compression (least compression, least time)
  898.  
  899. -e0         Zero compression (storing)
  900.  
  901. PKZIP 2 provides four different methods of compression, allowing you to
  902. choose the compression that best suits your need.  You can choose speed, high
  903. compression or a balance.  The default method will provide good compression
  904. at a reasonable speed.
  905.  
  906.  
  907.  
  908.  
  909. ════════════════════════════════════════════════════════════════════════════
  910. 32                              PKZIP                                PKZIP 2
  911.  
  912. The switches for this option are intended to be mnemonic in nature:
  913.  
  914. -ex     eXtra or maXimum
  915. -en     Normal
  916. -ef     Fast
  917. -es     Speed/Super Fast
  918. -e0     Zero compression
  919.  
  920. The only two that may be difficult to remember are the order of Fast and
  921. Super Fast, you might want to think "Extra Speed".
  922.  
  923. If you need to complete the compression in the minimum amount of time
  924. possible, then choose the fast compression method.  To force PKZIP to use its
  925. fastest compression method, use the option -es (Super Fast).
  926.  
  927. To achieve the smallest files possible, specify the maximum compression
  928. method using the option -ex (Maximum).
  929.  
  930.    pkzip -ex test.zip d:\wp51\*.wp
  931.  
  932. Using no compression with the zero option is useful when archiving files
  933. which will either not compress or compress very little.  This would generally
  934. be true when archiving .ZIP files.  By specifying no compression PKZIP will
  935. store the files directly rather than first attempting to compress them.
  936.  
  937. The compression method to use by default can be specified in the
  938. configuration file.  If you have specified the super fast, fast or maximum
  939. compression method in your configuration you may override this and use the
  940. normal method by using the option -en.
  941.  
  942. _____________________________________
  943. -f  Freshen files in a .ZIP file
  944.  
  945. When this command is specified, PKZIP will compare the contents of the .ZIP
  946. file specified on the command line against the files specified for
  947. compression.  If a file ALREADY EXISTS in the .ZIP file, PKZIP will check to
  948. see if the file exists in the source area (i.e. the files specified on the
  949. command line).  If the file does exist, it then checks to see if the file in
  950. the source area is more recent than the copy contained in the .ZIP file.  If
  951. it is more recent, it will replace the compressed file with the one found in
  952. the source area.
  953.  
  954. Using this parameter will normally speed up the ZIP process considerably, as
  955. PKZIP will be able to skip over files that it has already compressed.
  956.  
  957.    pkzip -f baka.zip c:\ranma\*.*
  958.  
  959. This example checks the contents of the .ZIP file "baka.zip" against the
  960. files specified by "c:\ranma\*.*".  Any file that matches will be
  961.  
  962.  
  963.  
  964.  
  965. ════════════════════════════════════════════════════════════════════════════
  966. Shareware Publishing               PKZIP                                  33
  967.  
  968. updated if the file in the source area is newer than the copy within the .ZIP
  969. file.
  970.                                 See Also: -u, -i
  971.  
  972. _____________________________________
  973. -h display command summary (Help)
  974.  
  975. This option will display a brief summary of the command switches available.
  976.  
  977. _____________________________________
  978. -i   Add files that have the archive attribute - then turn attribute off
  979. -i-  Add files that have the archive attribute - do not turn attribute off
  980.  
  981. This option is very handy when backing up files.  If this option is
  982. specified, only files with the archive attribute will be compressed, and the
  983. archive attribute will be set to off when the ZIP operation is complete for
  984. these files.
  985.  
  986. You may alternatively ZIP all files with the archive attribute set, but not
  987. modify the archive attribute.
  988.  
  989. A detailed explanation of the use of this option is given in the PKZIP Backup
  990. Guide.
  991.  
  992. Archive Attribute───────────────────────────────────────────────────────────
  993. Every file on an MS-DOS partition has several properties associated with it.
  994. One of these properties is called the Archive Attribute.  When a file has
  995. just been created, this attribute is set to be ON.  Also, if a file is
  996. altered, the attribute is set.  After a file has been backed-up by a program
  997. which uses this attribute, the attribute is switched off.  By making use of
  998. the archive attribute you may make certain that you get all files that are
  999. new or changed.  You save time by not backing up files you have previously
  1000. archived.  This process is called an Incremental Backup.
  1001. ────────────────────────────────────────────────────────────────────────────
  1002.  
  1003.                            See Also: PKZIP Backup Guide,
  1004.                                 -f , -u, -a+
  1005.  
  1006. _____________________________________
  1007. -j<h,r,s> Specify masking of file attributes
  1008. -J<h,r,s> Specify retention of file attributes (used to override config file)
  1009.  
  1010. When PKZIP archives a read-only file (or is forced to archive a hidden or
  1011. system file through use of the -w option) the default is to retain these
  1012. attributes with the file in the archive.  You may choose to strip these
  1013. attributes off the file during the ZIP process by specifying the -j (lower
  1014. case) with the letter(s) corresponding to the attribute you wish to mask.
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021. ════════════════════════════════════════════════════════════════════════════
  1022. 34                              PKZIP                                PKZIP 2
  1023.  
  1024.  
  1025. File Attributes─────────────────────────────────────────────────────────────
  1026. Every file on an MS-DOS partition has several properties associated with it.
  1027. These attributes are: archive(a), hidden(h), read-only(r), and system(s).
  1028. The archive attribute is explained under the -i option.  The Hidden attribute
  1029. prevents MS-DOS from displaying the file in a directory listing.  Files that
  1030. have this attribute are normally ignored by PKZIP.  The read-only attribute
  1031. prevents a file from being changed or deleted.  When a file has this
  1032. attribute you cannot delete the file or change it's contents.  The system
  1033. attribute signifies a file that is a system file.  System files are used by
  1034. MS-DOS and are treated as Hidden files. Please see your DOS manual for
  1035. additional information.
  1036. ────────────────────────────────────────────────────────────────────────────
  1037.  
  1038. You may set masking of particular attributes to be the default by using
  1039. either the PKZIP.CFG file or the PKZIP configuration program.
  1040.  
  1041. If any of these options are set in the configuration they may be overridden
  1042. temporarily by use of the -J (upper case) option.
  1043.  
  1044.    pkzip markie.zip -Jhs c:\util\*.*
  1045.  
  1046. **  Please note there is no space between the -j/J option and the h,r or s.
  1047.  
  1048. _____________________________________
  1049. -k  Retain original .ZIP file date
  1050. -k- Set .ZIP file date to the current date (override configuration file)
  1051.  
  1052. Normally, when PKZIP updates an existing .ZIP file by either adding to it or
  1053. deleting from it, the .ZIP file date is changed to the current date.  If
  1054. the - k option is specified on the command line the .ZIP file date will not
  1055. be altered.
  1056.  
  1057. This option may be made the default, see PKZIP Configuration.
  1058.  
  1059. If PKZIP is configured to keep the original date in the configuration file,
  1060. this may be overridden temporarily by use of the -k- option.
  1061.  
  1062.                                  See Also: -o
  1063.  
  1064. _____________________________________
  1065. -l Display license screen
  1066.  
  1067. If this command is specified, PKZIP will display the software license
  1068. agreement.
  1069.  
  1070. _____________________________________
  1071. -m[u|f]  Move files
  1072.  
  1073. Normally, when PKZIP archives a file, it is making a copy of that file. The
  1074. original file is not modified in any way.  By choosing the -m option, you may
  1075. actually MOVE the file into the .ZIP file.
  1076.  
  1077. ════════════════════════════════════════════════════════════════════════════
  1078. Shareware Publishing               PKZIP                                  35
  1079.  
  1080.  
  1081. After the ZIP operation is complete, PKZIP will delete all the files it just
  1082. placed into the .ZIP file.  In effect moving the files from their previous
  1083. location into the .ZIP file.
  1084.  
  1085. This option may be combined with the Update (-u) and Freshen (-f) options.
  1086. When this is done PKZIP will perform the Update or Freshen as it would
  1087. normally, and then delete all the files that were placed into the archive.
  1088.  
  1089.                                 See Also: -f, -u
  1090.  
  1091. _____________________________________
  1092. -o   Set .ZIP file date to latest file in .ZIP file
  1093. -o-  Set .ZIP file date to current date (used to override configuration file)
  1094.  
  1095. Normal default operation for PKZIP is to set the date of a .ZIP file it is
  1096. modifying or creating to the current date.  By specifying the -o option you
  1097. can tell PKZIP to set the date of the .ZIP file equal to that of the oldest
  1098. file within the .ZIP file.
  1099.  
  1100. This option may be made the default, see PKZIP Configuration.
  1101.  
  1102. If this option is set, you may override it by using the -o- option.  This
  1103. will force PKZIP to set the .ZIP file date to the current date.  Note that
  1104. the -o- option must be completely separate from any other options, such as
  1105. the -f in the example:
  1106.  
  1107.    pkzip oldfiles.zip -o- -f c:\wp51\text\*.wp
  1108.  
  1109.                                 See Also: -k
  1110. _____________________________________
  1111. -P  Preserve specified path names
  1112. -P- Turn off path storage (used to override configuration file)
  1113.  
  1114. This option and the related -rp option control the storage of pathnames with
  1115. files inside of a .ZIP file.  The -p (lower case) option is used only in
  1116. combination with the -r option as -rp (see -r for more information).
  1117.  
  1118. The -P (upper case) option can be used alone or as a -rP option. The -P
  1119. option causes PKZIP to store pathnames found on the command line as part of a
  1120. filename specified for compression.  This command will only have an effect if
  1121. a file or files specified either on the command line or in a list file have
  1122. path names.
  1123.  
  1124.    pkzip pathtest.zip -P c:\dos\attrib.exe
  1125.  
  1126. In the above command the file "attrib.exe" would be compressed into the .ZIP
  1127. file "pathtest".  Because the -P option was specified, and because the path
  1128. "\dos" was specified as part of the file name, the
  1129.  
  1130.  
  1131.  
  1132.  
  1133. ════════════════════════════════════════════════════════════════════════════
  1134. 36                              PKZIP                                PKZIP 2
  1135.  
  1136.  
  1137. file will be stored as "dos\attrib.exe". This means that the path name will
  1138. be available for reconstruction during extraction.  Stored path names can be
  1139. seen when the .ZIP file is viewed.
  1140.  
  1141.    pkzip path2.zip -P d:\coreldrw\*.cdr
  1142.  
  1143. In this example all files with the "cdr" extension will be placed into the
  1144. .ZIP file "path2", and will have the path "coreldrw\" stored with them.
  1145.  
  1146. This option may be made the default, see PKZIP Configuration.
  1147.  
  1148. If path storage is turned on in the configuration file, you may turn it off
  1149. for a particular command by using the -P- option.
  1150.  
  1151.    pkzip mydoc.zip -P- c:\wp51\docs\zoofund.wp
  1152.  
  1153.                                 See Also: -r, -v
  1154. _____________________________________
  1155. -q      Enable ANSI comments
  1156. -q-     Disable ANSI comments (used to override configuration file)
  1157.  
  1158. PKZIP retains ANSI control codes in comment text that is added to a .ZIP
  1159. file.  During display of the comment text, PKZIP will normally disable ANSI
  1160. codes.  If you want to have the ANSI control codes used by PKZIP when
  1161. displaying comment text, you must specify this option.
  1162.  
  1163.    pkzip spacemp.zip -q se.diz
  1164.  
  1165. This option may be made the default, see PKZIP Configuration.
  1166.  
  1167. If the ANSI option is turned on in the configuration file you may temporarily
  1168. override it by using the -q- option.  Note that the -q and -q- options must
  1169. be separated from any other options specified.
  1170.  
  1171. _____________________________________
  1172. -r   Recurse subdirectories
  1173. -rp  Recurse subdirectories, preserve the path structure below
  1174. -rP  Recurse subdirectories, preserve path structure specified and below
  1175. -r-  Turn off recursion (used to override configuration file)
  1176.  
  1177. When this option is specified, PKZIP will search the source directory for
  1178. subdirectories.  If any subdirectories are found, PKZIP searches them for
  1179. files.  If a further level of subdirectories is found in a subdirectory,
  1180. PKZIP will search these as well.
  1181.  
  1182. PKZIP will enter as many subdirectory levels as exist.
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189. ════════════════════════════════════════════════════════════════════════════
  1190. Shareware Publishing               PKZIP                                  37
  1191.  
  1192.  
  1193.    pkzip mail.zip -r c:\mymail\*.*
  1194.  
  1195. Using the above command, all files contained within the "mymail"subdirectory,
  1196. as well as all files within any subdirectories, would be archived.  Only the
  1197. file names would be retained, and not the names of the subdirectories.
  1198.  
  1199.    pkzip mail2.zip -rp c:\mymail\*.*
  1200.  
  1201. The second example would preserve the same files as the first, but also keep
  1202. the names of any subdirectories found below the "mymail" subdirectory.  Note
  1203. that the "mymail" subdirectory itself would not be retained since the -P is
  1204. not being used.
  1205.  
  1206.    pkzip pay_june.zip -rP d:\payroll\*.*
  1207.  
  1208. The third example will compress all of the files in the payroll directory, as
  1209. well as all of the files in any subdirectories.  The -rp would cause the
  1210. subdirectories to be recursed and stored.  The -P will cause "\payroll" to be
  1211. stored as well.  Without the -P, the "\payroll" portion of the path would not
  1212. be stored.  This option may be made the default, see PKZIP Configuration.
  1213.  
  1214. **  Please note that paths are not stored when the -r option is specified
  1215.     without the p or P option.  In order for paths to be stored, the -r
  1216.     option must be accompanied by the -p or -P option.
  1217.  
  1218. _____________________________________
  1219. -s[password] Encrypt files
  1220.  
  1221. By specifying this option you may encrypt data as it
  1222. is compressed by PKZIP.  This feature of PKZIP causes the information
  1223. contained within a .ZIP file to be scrambled.  A file which has been
  1224. scrambled will be unreadable until extracted with the same encryption key.
  1225.  
  1226. If a password is not specified the user will be prompted for one.
  1227.  
  1228. **  This feature should be used with caution.  For a complete explanation of
  1229.     the use of this option please see Using Data Encryption.
  1230.  
  1231. _____________________________________
  1232. -t<date>  Select files NEWER than or EQUAL to date
  1233. -T<date>  Select files OLDER than date
  1234.  
  1235. This option will allow you to select files according to their date.  The date
  1236. specifier is a six-digit number conforming to the following formats:
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245. ════════════════════════════════════════════════════════════════════════════
  1246. 38                              PKZIP                                PKZIP 2
  1247.  
  1248.  
  1249. "American" style:     mmddyy
  1250. 040193     April 1st, 1993
  1251. 103189     October 31st, 1989
  1252.  
  1253. "European" style:     ddmmyy
  1254. 010493     1 April, 1993
  1255. 311089     31 October, 1989
  1256.  
  1257. "Japanese" style:     yymmdd
  1258. 930401     1993 April 01
  1259. 891031     1989 October 31
  1260.  
  1261. PKZIP adapts itself to the date format for which your machine is configured
  1262. automatically.
  1263.  
  1264. All users within the United States use the first date format.
  1265.  
  1266. If you are outside the United States and are unsure of the configuration of
  1267. your computer, enter the DATE command at the DOS prompt.  This will show you
  1268. the date format being used on your computer.
  1269.  
  1270. The -t and -T options may be combined to specify a date range.
  1271.  
  1272. These examples all use the "American" date format (mmddyy).  To compress all
  1273. files created after or on November 4, 1992:
  1274.  
  1275.    pkzip test.zip -t110492
  1276.  
  1277. To compress all files created before January 10, 1991:
  1278.  
  1279.    pkzip test.zip -T011091
  1280.  
  1281. To compress all files created between October 1, 1992 and October 31, 1992:
  1282.  
  1283.    pkzip test.zip -t100192 -T103192
  1284.  
  1285. If -t is used with no date, files with dates equal to the current date are
  1286. specified:
  1287.  
  1288.    pkzip today.zip -t
  1289.  
  1290. _____________________________________
  1291. -u  Update files
  1292.  
  1293. This option only affects PKZIP operations involving an already existing .ZIP
  1294. file. When -u is used in conjunction with a PKZIP command, the files
  1295. specified for archiving will be compared against the files already present in
  1296. the .ZIP file.  If the file to be added into the .ZIP file is already present
  1297. and is not NEWER, PKZIP will not bother to re-compress the file.
  1298.  
  1299.  
  1300.  
  1301. ════════════════════════════════════════════════════════════════════════════
  1302. Shareware Publishing               PKZIP                                  39
  1303.  
  1304. By using this option, you may save yourself time when archiving files that
  1305. are backed up repeatedly.  This option differs from the behavior of the -f
  1306. option in that files which are not already present in the .ZIP file will be
  1307. added.
  1308.  
  1309.    PKZIP p:\backup\sdsource.zip -u d:\c700\work\sd*.*
  1310.  
  1311. In this example a .ZIP file called "sdsource.zip" is created in a "backup"
  1312. directory on the P: drive.  All files in the source directory matching the
  1313. file specification will be added or updated.
  1314.  
  1315.                                    See Also: -f
  1316.  
  1317. _____________________________________
  1318. -v[b][r,c|d|e|n|o|p|s][m]      View [brief] file information
  1319. -vt[m]                         View Technical file information
  1320.  
  1321. This option will display technical information concerning the files contained
  1322. within a .ZIP file.  There are several options available with the View
  1323. option. Each of the -v options may have an `m' added to it, causing the
  1324. screen to pause every 25 lines.
  1325.  
  1326. In it's simplest form the -v by itself gives a display similar to this:
  1327.  
  1328.    pkzip am70 -v
  1329.  
  1330.    PKZIP (R)  FAST!  Create/Update Utility  Version 2
  1331.    Copr. 1989-1992 PKWARE Inc.  All Rights Reserved.  PKZIP/h for help
  1332.    PKZIP Reg. U.S. Pat. and Tm. Off.   Patent No. 5,051,745
  1333.  
  1334.    ■80486 CPU detected.
  1335.    ■XMS version 3.00 detected.
  1336.    ■Novell Netware version 3.11 detected.
  1337.  
  1338.    Searching ZIP: AM70.ZIP - PKWARE Support BBS (414)354-8670
  1339.  
  1340.    Length  Method    Size  Ratio   Date    Time    CRC-32  Attr  Name
  1341.    ------  ------    ----- ----- --------  -----  -------- ----  ------------
  1342.     76812  DeflatX   23139  70%  01-30-92  12:03  971fea04 --w-  AM.DOC
  1343.    191872  DeflatX   80773  58%  01-31-92  15:02  25cf904a --w-  AM.EXE
  1344.     11664  DeflatX    6935  41%  01-30-92  11:57  183b5606 --w-  AM.HLP
  1345.    149567  DeflatX   63211  58%  01-31-92  15:02  bf2fffee --w-  AM.OVR
  1346.      2262  DeflatX    1021  55%  03-16-91  10:39  50b63fc5 --w-  NEW-WARE.BBS
  1347.      5327  DeflatX    2068  62%  10-14-91  11:25  924efc72 --w-  PATHINFO.TXT
  1348.       130  DeflatX     118  10%  11-14-90  10:05  fd1b1183 --w-  PROGMENU.AM
  1349.      3664  DeflatX    1644  56%  04-04-91  10:32  c8d5c9cf --w-  PROGMENU.DOC
  1350.      1688  DeflatX     740  57%  11-10-90  11:27  8ef23b8a --w-  READ!.POP
  1351.      1416  DeflatX     595  58%  01-30-92  12:03  32b1497e --w-  VENDOR.DOC
  1352.      2167  DeflatX     949  57%  01-30-92  12:07  2e13f4d4 --w-  WARNING.!!!
  1353.      2200  DeflatX    1049  53%  01-30-92  12:01  20c953ee --w-  WHAT'S.NEW
  1354.    ------           ------  ---                                  ------------
  1355.    448769           182242  60%                                       12
  1356.  
  1357. ════════════════════════════════════════════════════════════════════════════
  1358. 40                              PKZIP                                PKZIP 2
  1359.  
  1360. This is the standard, unsorted view of the .ZIP file contents.  The columns
  1361. displayed from left to right consist of:
  1362.  
  1363. Length     Original (non-compressed) size of the file
  1364. Method     Type of compression routine used on this file
  1365. Size       Current (compressed) size of the file
  1366. Ratio      Percent reduction in file size
  1367. Date       Date of the file (as it would appear in a directory listing)
  1368. Time       Time of the file
  1369. CRC-32     The value of the file as calculated by the CRC-32 routine
  1370. Attribute  The stored attributes of the file, (system, hidden, writable,
  1371.        read-only, *=encrypted)
  1372. Name       Name of the file
  1373.  
  1374. The -vb (brief) option will display an identical listing, minus the CRC-32
  1375. and Attribute columns.
  1376.  
  1377. The -vt option shows additional technical information about a file.  When
  1378. this option is active, a report similar to the following will be displayed:
  1379.  
  1380.    C:\>pkzip am70 -vt am.doc
  1381.  
  1382.    PKZIP (R)  FAST!  Create/Update Utility  Version 2
  1383.    Copr. 1989-1992 PKWARE Inc.  All Rights Reserved.  PKZIP/h for help
  1384.    PKZIP Reg. U.S. Pat. and Tm. Off.   Patent No. 5,051,745
  1385.  
  1386.    ■80486 CPU detected.
  1387.    ■XMS version 3.00 detected.
  1388.    ■Novell Netware version 3.11 detected.
  1389.  
  1390.    Searching ZIP: AM70.ZIP - PKWARE Support BBS (414)354-8670
  1391.  
  1392.          Filename: AM.DOC
  1393.         File type: text
  1394.        Attributes: --w-
  1395.     Date and Time: Jan 30,1992  12:03:54
  1396.    Compression Method: DeflatX
  1397.       Compressed Size: 23139
  1398.     Uncompressed Size: 76812
  1399.      32 bit CRC value: 971fea04
  1400.        Created by: PKZIP: 2.0 under MS-DOS
  1401.     Needed to extract: PKUNZIP: 2.0
  1402.  
  1403. The "File type" is a judgement made by PKZIP during compression based upon
  1404. the contents of the file.  It will be either "BINARY" or "TEXT".
  1405.  
  1406. The "Created By" lists both the version level of PKZIP  and the operating
  1407. system used when the .ZIP file was created.  Below that is listed the minimum
  1408. version of PKUNZIP that would be required to extract the file.
  1409.  
  1410.  
  1411.  
  1412.  
  1413. ════════════════════════════════════════════════════════════════════════════
  1414. Shareware Publishing               PKZIP                                  41
  1415.  
  1416.  
  1417. Sort Order
  1418.  
  1419. By adding one of the following letters to the -v, -vb, or -vt command you can
  1420. specify the sort order of the display.
  1421.  
  1422. d     File Date
  1423. e     File Extension
  1424. n     File Name
  1425. o     Natural Order (Sort order can be permanently specified in the
  1426.        configuration file, the "o" option will override this.)
  1427. p     Percentage of compression, smallest to largest
  1428. s     File Size, smallest to largest
  1429.  
  1430. Any of the above sort orders may be reversed with an "r".
  1431.  
  1432. r     Reverse display order
  1433.  
  1434. If you wish to also view the individual file comments with the listing
  1435. specify "c" on the command line.
  1436.  
  1437.    pkzip hildie.zip -vbcnr
  1438.  
  1439. This example would display a brief list of the file contents, including
  1440. individual file contents, and sorted in reverse name order.
  1441.  
  1442. View With MORE
  1443.  
  1444.    pkzip totoro.zip -vtrm
  1445.  
  1446. This example makes use of the "more" feature available with the view command.
  1447. This causes the display to pause after every 25 lines of information.  Adding
  1448. an `m' to any -v command will cause it to pause every screenful.
  1449.  
  1450. _____________________________________
  1451. -w<h,s>       Take hidden, system files
  1452. -W<h,s>       Skip hidden, system files (used to override configuration file)
  1453.  
  1454. Normally PKZIP will skip any Hidden or System files that fall within the
  1455. files specified for compression.  (See the -j option and your DOS manual for
  1456. an explanation of what Hidden and System files are).
  1457.  
  1458. If you wish to force PKZIP to take Hidden or System files you may do so by
  1459. specifying the -w option, combined with the appropriate
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469. ════════════════════════════════════════════════════════════════════════════
  1470. 42                              PKZIP                                PKZIP 2
  1471.  
  1472. attribute.  These attributes will normally be stored as part of the .ZIP file
  1473. information unless specified with the -J option.
  1474.  
  1475.    pkzip all.zip -whs a:\*.*
  1476.  
  1477. This example would zip all files in the root of the A: floppy drive,
  1478. including any hidden or system files.
  1479.  
  1480.    pkzip att_test -whs -Jhs c:\*.*
  1481.  
  1482. This would take all files as above, and would also discard the file
  1483. attributes. This option may be made the default. See PKZIP Configuration.
  1484.  
  1485.                             See Also: -j, PKUNZIP -j
  1486.  
  1487. _____________________________________
  1488. -x<filename>        Exclude files
  1489. -x@listfile.lst     Exclude a list of files
  1490.  
  1491. Using -x allows you to specify files that you do NOT want used as part of a
  1492. PKZIP operation.  Either a specific filename or a file pattern may be
  1493. specified.  You may use -x multiple times on the same command line, and you
  1494. may exclude a list of files.  The list file is structured and treated
  1495. identically to all other List Files.
  1496.  
  1497.    pkzip testfile.zip *.txt -xpizza.txt
  1498.  
  1499. This example would compress all the files with a "txt" extension that are in
  1500. the current directory, but would NOT compress the file "pizza.txt"
  1501.  
  1502.    pkzip test2.zip *.* -x*.txt
  1503.  
  1504. Here we take all of the files EXCEPT the files with a "txt" extension.
  1505.  
  1506.    pkzip test3.zip *.* -xcommand.com -xautoexec.* -xconfig.*
  1507.  
  1508. In this last example all files are specified for extraction, one specific file
  1509. is being excluded, and any files which match two file patterns are excluded.
  1510.  
  1511.                            See Also: -@ page 46, "Using
  1512.                             List Files" page 63
  1513.  
  1514. _____________________________________
  1515. -z Create or modify a .ZIP file comment
  1516.  
  1517. Each .ZIP file may have a comment embedded into it.  This comment will be
  1518. displayed when the file is extracted, viewed or modified.  A comment may be
  1519. added to an existing file, or added when a .ZIP file is first created.  PKZIP
  1520. will prompt you for the .ZIP file comment, and allow you to enter up to 127
  1521. characters.
  1522.  
  1523.  
  1524.  
  1525. ════════════════════════════════════════════════════════════════════════════
  1526. Shareware Publishing               PKZIP                                  43
  1527.  
  1528.  
  1529. It is possible to embed larger comments (up to 4096 characters) by
  1530. using the following procedure:
  1531.  
  1532. 1) Create the .ZIP file.
  1533.  
  1534. 2) Create the comment file (comment.txt).
  1535.  
  1536. This can be done with any editor that is able to output a standard DOS text
  1537. file.  It must be plain ASCII or ANSI text (if it is ANSI text you must also
  1538. use the -q option).  Although the filename comment.txt is used here, any
  1539. filename may be used.
  1540.  
  1541. 3) Issue the command:
  1542.  
  1543.    pkzip zipfile.zip -z < comment.txt
  1544.  
  1545. This makes use of the MS-DOS redirection ability, redirecting the contents of
  1546. the file COMMENT.TXT as the input for the comment of ZIPFILE.ZIP.
  1547.  
  1548. 3a) To add a comment to multiple .ZIP files (within the current directory)
  1549. Issue the command:
  1550.  
  1551.    for %f in (*.ZIP) do pkzip %f -z < comment.txt
  1552.  
  1553. Note that the text of a comment is not compressed.  If you have a large
  1554. message you wish to attach to the .ZIP file it is better to have a short
  1555. summary and put any longer message in the .ZIP file itself. Technically, a
  1556. .ZIP file comment may be as large as 64k, but PKUNZIP will not display a .ZIP
  1557. file comment this large.
  1558.  
  1559. _____________________________________
  1560. -!    Encrypt authenticity verifiable data into the .ZIP file
  1561.  
  1562. Using this command option will cause PKZIP to embed Authenticity Verification
  1563. (AV) information within the .ZIP file it is creating.
  1564.  
  1565. This option may only be used if you have received and installed the AV
  1566. information for your fully registered copy of PKZIP from Shareware Publishing
  1567.  
  1568. Note that AV codes for PKZIP 2.0 and above are different than those used for
  1569. version 1.10.
  1570.  
  1571. Please see the section on Authenticity Verification for complete information.
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581. ════════════════════════════════════════════════════════════════════════════
  1582. 44                              PKZIP                                PKZIP 2
  1583.  
  1584. _____________________________________
  1585. @[filename]  Specify LIST file
  1586.  
  1587. This option specifies a plain ASCII text file to be used as the list
  1588. of files to be archived.  PKZIP will read in this file listing and generate
  1589. the complete list of files that must be processed.  A list file may contain
  1590. wild card specifications (?,*) as well as exact file names:
  1591.  
  1592. files.bbs                           *.txt
  1593. *.*                                 text\news.asc
  1594. d:\text\*.ans                       c:/dos/edit.com
  1595.  
  1596. All of the above would be valid entries in a list file.  Notice that both
  1597. forward and backward slashes may be used and mixed.
  1598.  
  1599. The size of a list file that may be processed is limited.  The total size of
  1600. the list file depends upon two factors.
  1601.  
  1602. The first is path storage.  If paths are specified in the list file and are
  1603. NOT stored with the -P option, the list file size is limited to approximately
  1604. 7000 bytes.
  1605.  
  1606. If paths are specified and are stored, the list file size is limited to 9700
  1607. bytes.
  1608.  
  1609. If a list file has drive letters specified as part of the file names within
  1610. the file, the maximum list file size is reduced.  When paths are not stored
  1611. the maximum size is 5100 bytes, when they are stored 6600 bytes.
  1612.  
  1613.       ╔════════════════════════════╤══════════════════╤═══════════════════╗
  1614.       ║ List File Size Limits      │  No Path Storage │ Path Storage (-P) ║
  1615.       ╟────────────────────────────┼──────────────────┼───────────────────╢
  1616.       ║ Drive Letters in List File │    5100 bytes*   │       6600        ║
  1617.       ╟────────────────────────────┼──────────────────┼───────────────────╢
  1618.       ║ No Drive Letter            │       7000       │       9700        ║
  1619.       ╚════════════════════════════╧══════════════════╧═══════════════════╝
  1620.       *These numbers are approximate and may vary depending on your
  1621.        configuration.
  1622.  
  1623. If the list file is too big, you will receive an "Insufficient Memory" error.
  1624. If you have a list file which is too big, you may split it into two or more
  1625. smaller list files and perform multiple PKZIP operations.
  1626.  
  1627.                          See Also: "Using List Files", -@
  1628.  
  1629. _____________________________________
  1630. -& Create multi-volume archive
  1631.  
  1632. When this option is specified PKZIP will create a .ZIP file which is larger
  1633. than a single floppy disk.  This option may only be specified when creating a
  1634. .ZIP file on removable media (i.e. a floppy disk or high capacity cartridge
  1635. drive).
  1636.  
  1637. ════════════════════════════════════════════════════════════════════════════
  1638. Shareware Publishing               PKZIP                                  45
  1639.  
  1640. If PKZIP encounters an unformatted floppy disk it will format it before it
  1641. continues. This means that you will not need to anticipate the exact number
  1642. of floppies that will be needed ahead of time. For complete information on
  1643. the use of this and related options, please see the PKZIP Backup Guide.
  1644.  
  1645. _____________________________________
  1646. -$[d]   Store Volume label as part of .ZIP archive
  1647.  
  1648. When this option is specified PKZIP will store the Volume Label of the
  1649. specified device as part of the information within the .ZIP file it is
  1650. creating or modifying.  The letter of the drive containing the desired label
  1651. should be specified in place of the [d] on the option statement.  Do not
  1652. include a colon.
  1653.  
  1654.    PKZIP doug.zip -rp -$b b:*.*
  1655.  
  1656. In this example a .ZIP file called "doug" is created in the current
  1657. directory. It consists of the complete contents of the B: drive including
  1658. it's subdirectories and Volume Label.
  1659.  
  1660. Volume Label────────────────────────────────────────────────────────────────
  1661. Every drive that can be accessed on your computer is referred to as a VOLUME.
  1662. This includes not only your hard disk but also floppy disks, and may include
  1663. other storage devices such as CD ROM drives or large capacity removable
  1664. drives such as those manufactured by SyQuest or Iomega.  Each of these drives
  1665. may have a VOLUME LABEL.  This is a text string which identifies it.  This is
  1666. particularly useful on removable media, such as floppy disks.  Each floppy
  1667. may have a label which is meaningful to you, or to a piece of software.  For
  1668. further information on VOLUME LABELS please refer to your DOS manual.
  1669. ────────────────────────────────────────────────────────────────────────────
  1670.  
  1671. _____________________________________
  1672. -@filename.lst    Generate LIST file
  1673.  
  1674. **  Please note that this option is different from using a list file.  When
  1675.     PKZIP is reading a list file there is no dash in front of the @.
  1676.  
  1677. This option causes PKZIP to generate a LIST file out the specified file name
  1678. instead of performing a ZIP operation.  The output file will be a plain ASCII
  1679. file with one file name per line, and will be identical to the listing of the
  1680. files PKZIP would have placed into a .ZIP file had the -@ option not been
  1681. used.
  1682.  
  1683. If the -rp is specified the list file will include paths in addition to the
  1684. file names.  If the pattern/filespec is on a different drive, the drive
  1685. letter will be included as well.
  1686.  
  1687.    pkzip dummy.zip -@test.lst *.*
  1688.  
  1689. This would generate a list file called "test.lst".  Note that the dummy
  1690. zipfile name is needed.  The name of the .ZIP file specified does not matter
  1691. as it is not actually used.
  1692.  
  1693. ════════════════════════════════════════════════════════════════════════════
  1694. 46                               PKZIP                               PKZIP 2
  1695.  
  1696.  
  1697.    pkzip dummy.zip -@test2.lst -rp d:\*.*
  1698.  
  1699. This would create a list file of the ENTIRE contents of the D drive.  If the
  1700. current directory is not D:\ when this command is issued the drive will be
  1701. included with each filename in the list file.
  1702.  
  1703. This option can also be useful in conjunction with an existing .ZIP file.
  1704. For example, to generate a list of all files which have been modified since
  1705. they were placed in the .ZIP file "akiko.zip":
  1706.  
  1707.    pkzip akiko.zip -f -@modified.lst *.*
  1708.  
  1709.                            See Also:  "Using List Files"
  1710.  
  1711. _____________________________________
  1712. -=     Open file in compatibility mode
  1713.  
  1714. This option will cause PKZIP to open files in "compatibility" mode, as
  1715. opposed to "sharing" mode.
  1716.  
  1717. Using this option will cause PKZIP to ignore most file locking, including
  1718. share.
  1719.  
  1720. In some networking situations this will allow you to read a file which would
  1721. otherwise not be accessible due to file locking.
  1722.  
  1723.                                        PKTMP
  1724. ════════════════════════════════════════════════════════════════════════════
  1725.  
  1726. During compression, PKZIP uses a temporary file.  As each file is added to
  1727. the .ZIP file it is first compressed into this temporary file and then
  1728. appended to the .ZIP file.
  1729.  
  1730. By default this temporary file is created in the current directory.
  1731.  
  1732. You may have this temporary file created in a different directory by setting
  1733. the environment variable PKTMP.  Set this equal to the drive you wish to use
  1734. as your temporary file location.
  1735.  
  1736. For optimal performance on your local harddrive, the PKTMP could be set equal
  1737. to a RAM drive if a large enough one is available.  The temporary file
  1738. location must have enough free space to hold the largest file in it's
  1739. compressed state.
  1740.  
  1741. For optimal performance when creating a .ZIP file on a Novell Netware volume,
  1742. set the PKTMP equal to any drive on the same server.  This will achieve the
  1743. best performance, and is superior to using the local hard drive or the RAM
  1744. drive.
  1745.  
  1746.    C:\>set pktmp=z:\
  1747.  
  1748.  
  1749. ════════════════════════════════════════════════════════════════════════════
  1750. Shareware Publishing               PKZIP                                  47
  1751.  
  1752. PKUNZIP
  1753. ════════════════════════════════════════════════════════════════════════════
  1754. Command Reference
  1755.  
  1756. Description of command options
  1757.  
  1758. Items contained in brackets are optional and need not be included.  Where
  1759. there is more than one item separated by commas you may use any ONE of those
  1760. options following the main option character.  Where there are options in
  1761. brackets you must include that option, or choose one of those in the series.
  1762. When choosing options from a bracketed series, you may use more than one of
  1763. these options if they are separated by commas.  If the options are separated
  1764. by a vertical bar (|) then you may only choose one.
  1765.  
  1766. Command option Guide
  1767.  
  1768. _____________________________________
  1769. -c      Extract files to the console
  1770. -cm     Extract files to the console with more (pause between screens)
  1771.  
  1772. This command will extract files from a .ZIP file and display them on the
  1773. monitor. The extracted files will scroll continuously on the screen.  The
  1774. software can be told to pause after each screen of output by using the -cm
  1775. option.
  1776.  
  1777.    pkunzip pkz200.exe -cm pkzip.doc
  1778.  
  1779. This example lists the text file pkzip.doc to the screen from the self-
  1780. extracting .ZIP file "pkz200.exe".  The display will pause and wait for a key
  1781. press between each screen of text.
  1782.  
  1783. _____________________________________
  1784. -d   Restore directory structure
  1785.  
  1786. This command option uses the path names that have been stored in the .ZIP
  1787. file by PKZIP.  If the stored paths do not exist at the extraction
  1788. destination, they will be created.
  1789.  
  1790. For example: If the following directory tree exists on drive C:
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805. ════════════════════════════════════════════════════════════════════════════
  1806. 48                               PKUNZIP                             PKZIP 2
  1807.  
  1808.  
  1809.        C:\─┬─ABC─┬─DIR1
  1810.        │     └─DIR2─┬─DIR3
  1811.        │            └─DIR4
  1812.        ├─XYZ
  1813.        └─PDQ
  1814.  
  1815. If you executed:
  1816.  
  1817.    pkzip -rp a:stuff c:\abc\*.*
  1818.  
  1819. A .ZIP file called STUFF would be created containing all the files in the
  1820. directory "abc", as well as any subdirectories below that directory.
  1821.  
  1822. If you then executed:
  1823.  
  1824.    pkunzip -d a:stuff c:\xyz\newabc
  1825.  
  1826. The directory structure of drive C: would now look like this:
  1827.  
  1828.       C:\─┬─ABC─┬─DIR1
  1829.       │     └─DIR2─┬─DIR3
  1830.       │            └─DIR4
  1831.       ├─XYZ───NEWABC─┬─DIR1
  1832.       └─PDQ          └─DIR2─┬─DIR3
  1833.                 └─DIR4
  1834.  
  1835. All of the files and subdirectories which were originally in the "abc"
  1836. directory are now located in the "newabc" directory (shown in the box).  Note
  1837. that the "newabc" directory was created by PKUNZIP because it was specified
  1838. on the command line.
  1839.  
  1840.                  See Also: Tutorial - "Storing and Rebuilding
  1841.                             Directory Structures"
  1842.  
  1843. _____________________________________
  1844. -e[r][c,d,e,n,p,s]  Extract files in a sorted order
  1845.  
  1846. This option is used to specify a particular order in which to extract files
  1847. from a .ZIP file.  These options are used along with the -e.  Each option
  1848. will cause extraction sorted in ascending order of the particular criteria.
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861. ════════════════════════════════════════════════════════════════════════════
  1862. Shareware Publishing              PKUNZIP                                 49
  1863.  
  1864.  
  1865. Sort Options
  1866.  
  1867. r     Reverse sort order
  1868.  
  1869. c     CRC Value
  1870.  
  1871. d     Date
  1872.  
  1873. e     File Extension
  1874.  
  1875. n     File Name
  1876.  
  1877. p     Percentage (ratio) of compression
  1878.  
  1879. s     File Size
  1880.  
  1881. The most useful of these options will normally be extraction in order of
  1882. Date, Name, or Extension.  Extraction in value of CRC order is in effect
  1883. a random extraction.
  1884.  
  1885. In this example the files contained within the .ZIP file ZUCKER would be
  1886. extracted in the order of their names.
  1887.  
  1888.    pkunzip -en zucker.zip
  1889.  
  1890. To reverse the order of extraction combine with the [r].
  1891.  
  1892.    pkunzip -ern zucker.zip
  1893.  
  1894. _____________________________________
  1895. -f    Freshen files in extract directory
  1896.  
  1897. This function is the inverse of the freshen function in PKZIP.  When this
  1898. option is used, the PKUNZIP command will be executed normally except that
  1899. files will be extracted only if:
  1900.  
  1901. -> The files already exist in the target directory or directories
  1902.  
  1903. AND
  1904.  
  1905. -> The files in the .ZIP file are newer than the files in the
  1906.    extract directory.
  1907.  
  1908. _____________________________________
  1909. -h Display command summary (Help)
  1910.  
  1911. This option will display a brief summary of the command switches available.
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917. ════════════════════════════════════════════════════════════════════════════
  1918. 50                               PKUNZIP                             PKZIP 2
  1919.  
  1920. _____________________________________
  1921. -j<h,r,s>     Specifies masking of file attributes (default)
  1922. -J<h,r,s>     Specifies extraction of file attributes
  1923.  
  1924. During normal use, PKUNZIP does not extract files as being hidden, system or
  1925. read-only.  If there are files stored within a .ZIP file that have any of
  1926. these attributes, you must specify the -J (upper case) option to keep the
  1927. attributes.
  1928.  
  1929.    pkunzip stuff.zip -Jhsr
  1930.  
  1931. In this example all the attributes would be preserved.  For an explanation of
  1932. what file attributes are see your DOS manual.
  1933.                          See Also: PKZIP -w, PKZIP -j
  1934.  
  1935. _____________________________________
  1936. -l    Display license information
  1937.  
  1938. This command will display the software license agreement.
  1939.  
  1940. _____________________________________
  1941. -n    Extract only newer files
  1942.  
  1943. This option is the compliment of the -u option in PKZIP.
  1944. When this option is used files will only be extracted if:
  1945.  
  1946. -> They do not exist already in the target directory
  1947.  
  1948. OR
  1949.  
  1950. -> They are newer than the file already in the target directory
  1951.  
  1952. This means that files which already exist and are more recent than those in
  1953. the .ZIP file will not be overwritten.
  1954.  
  1955. _____________________________________
  1956. -o     Overwrite previously existing files
  1957. -o-    Never overwrite files
  1958.  
  1959. This option will cause PKUNZIP to overwrite any files that already exist in
  1960. the target directory, without prompting.  When this option is not specified
  1961. PKUNZIP will pause if it attempts to extract a file that already exists.  It
  1962. will prompt you:
  1963.  
  1964.    PKUNZIP: Warning! File XXXXXX already exists.  Overwrite (y/n/a/r)?
  1965.  
  1966. If you forget to specify the -o when you give the PKUNZIP command, you may
  1967. respond to the above question with "a" (All).  PKUNZIP will continue as
  1968. though a -o had been specified originally.
  1969.  
  1970. The -o- option will cause PKUNZIP to skip any file which already exists,
  1971. regardless of file sizes or dates.
  1972.  
  1973. ════════════════════════════════════════════════════════════════════════════
  1974. Shareware Publishing              PKUNZIP                                 51
  1975.  
  1976. _____________________________________
  1977. -p[a/b] [c] [#] Extract files to the printer
  1978.  
  1979. This option is used to extract files from a .ZIP
  1980. file and send them to a printer (serial or parallel) for printing.  The
  1981. command parameters are defined and several examples are given here to make
  1982. this complex command clear.
  1983.  
  1984. -pa     Extract to the printer device in ASCII mode
  1985.  
  1986. -pb     Extract to the printer device in BINARY mode
  1987.  
  1988. ASCII mode is commonly used to print text.  It will form feed after each
  1989. file when multiple files are being extracted.
  1990.  
  1991. Binary mode does not send any extra characters, extracting purely the
  1992. contents of the file to the specified device.  This is commonly used to send
  1993. fonts or graphics to a laser printer.  It will not form feed between files.
  1994.  
  1995. The a and b options cannot be mixed in the same command line.
  1996.  
  1997. In combination with the -pa or -pb option you may specify the port to which
  1998. PKUNZIP should extract.  If only a number between 1 and 4 is specified, the
  1999. extraction will go to that number of printer port (LPT1 through LPT4).  If a
  2000. "c" is specified PKUNZIP will extract to the COM port.  The "c" option may
  2001. also be combined with a number from 1 to 4, specifying COM1 through COM4.
  2002.  
  2003. This example will extract the specified files to the parallel port LPT1.
  2004.  
  2005.    pkunzip sesame.zip *.doc -p
  2006.  
  2007. This example is extracting files in binary mode to a printer on the second
  2008. serial port.
  2009.  
  2010.    pkunzip graphix.zip *.eps -pbc2
  2011.  
  2012. Here the files are extracted to a printer on the second parallel port in
  2013. ASCII mode.
  2014.  
  2015.    pkunzip docs.zip -pa2
  2016. _____________________________________
  2017. -q    Enable ANSI comments
  2018. -q-   Ignore ANSI control codes (default)
  2019.  
  2020. By default, ANSI control codes embedded in comments are not displayed by
  2021. PKUNZIP.  When the -q option is used these ANSI sequences will be output and
  2022. interpreted by the ANSI device driver if one is present.
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029. ════════════════════════════════════════════════════════════════════════════
  2030. 52                              PKUNZIP                              PKZIP 2
  2031.  
  2032. This option can be forced on by default in the configuration file.  The
  2033. configuration option to add is:
  2034.  
  2035.    ANSI=enabled
  2036.  
  2037. The enabling of ANSI control codes in the configuration file may be
  2038. overridden at the command line by using -q-.
  2039.  
  2040. ANSI control codes provide the feature of adding colour to text on a system
  2041. which has ANSI.SYS loaded in the CONFIG.SYS.
  2042.  
  2043. **  However, ANSI control codes also perform many other features, some of
  2044.     which can be potentially hazardous if you do not know the source and
  2045.     contents of the comment.  It is for this reason that PKZIP and PKUNZIP
  2046.     filter out ANSI control codes unless you explicitly tell them not to.
  2047.  
  2048. PKWARE has created an addition to the ANSI.SYS driver called PKSFANSI
  2049. (PK Safe ANSI).  By using this in conjunction with your normal ANSI.SYS you
  2050. can be sure of receiving only the ANSI characters that you want.  PKSFANSI
  2051. is provided by PKWARE free of charge.  It is included on the PKZIP
  2052. distribution disk.
  2053.  
  2054.                                See Also: PKZIP -q
  2055.  
  2056. _____________________________________
  2057. -s[password]       Decrypt files
  2058.  
  2059. This option is used to unscramble (decrypt) the files in a .ZIP file.  PKZIP
  2060. has a -s option which is used to encrypt the files.  If a password is not
  2061. specified the user will be prompted for it. When extracting a .ZIP file that
  2062. has been encrypted, the files will not be extracted unless the correct key
  2063. (password) is included on the command line or entered at the prompt.
  2064.  
  2065. **  Notice there is no space between the -s and the encryption key.
  2066.  
  2067.    pkunzip payroll.zip -o -sSecret *.dbf
  2068.  
  2069. In the above example, all files with a "dbf" extension will be extracted and
  2070. the key "Secret" applied to them.  This will only work if the files have been
  2071. compressed with the key of "Secret" applied to them.
  2072.  
  2073. **  This option is case sensitive.  This means that "Secret", "secret" and
  2074. "SECRET" are all different passwords.
  2075.  
  2076.                            See Also: "Using Data
  2077.                            Encryption", PKZIP -s
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085. ════════════════════════════════════════════════════════════════════════════
  2086. Shareware Publishing              PKUNZIP                                 53
  2087.  
  2088. _____________________________________
  2089. -t   Test .ZIP file integrity
  2090.  
  2091. This option is used to test files within a .ZIP file in order to verify that
  2092. they are valid and have not been corrupted.  PKUNZIP will perform all the
  2093. actions that would normally be taken during a .ZIP file extraction, except
  2094. that files will not be written to disk.
  2095.  
  2096. The data will be extracted and checked against the CRC to ensure it's val-
  2097. idity. After each file is checked it's name will be displayed with an "OK".
  2098.  
  2099.    C:\PKSTUFF>pkunzip zc102 -t
  2100.  
  2101.    Searching ZIP: ZC102.ZIP - PKWARE Support BBS (414)354-8670
  2102.    Testing: ZC.DOC        OK
  2103.    Testing: ZC.EXE        OK
  2104.    Testing: ORDER.FRM     OK
  2105.    Testing: VER-HIST.TXT  OK
  2106.  
  2107. In this example a command is issued which performs a test on the .ZIP file
  2108. "zc102". As each file is tested its name is displayed.  Note that the .ZIP
  2109. file comment is displayed.
  2110.  
  2111. If you test a file that is not a .ZIP file, or specify particular files
  2112. within the .ZIP file that do not exist, you will receive the message:
  2113.  
  2114.    PKUNZIP: (E11) No file(s) found.
  2115.  
  2116. Testing a .ZIP file with errors would produce a display something like this:
  2117.  
  2118.    Searching ZIP: PROBLEM.ZIP
  2119.    Testing: WORLD.M~      PKUNZIP: (W15) Warning! file fails CRC check
  2120.    Testing: CORELDRW.BPT  OK
  2121.  
  2122.    PROBLEM.ZIP has errors!
  2123.  
  2124. Normally, a CRC failure as above indicates that a file has been damaged
  2125. either in storage or transmission.  For instructions on attempting to repair
  2126. a .ZIP file that has been corrupted, see PKZIPFIX in the Trouble Shooting
  2127. section.
  2128.  
  2129.                        See Also: "Trouble Shooting", "F.A.Q."
  2130.  
  2131.  
  2132.  
  2133.  
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140.  
  2141. ════════════════════════════════════════════════════════════════════════════
  2142. 54                              PKUNZIP                              PKZIP 2
  2143.  
  2144.  
  2145. _____________________________________
  2146. -v[b][r,c|d|e|n|p|s][m]         View [brief] file information
  2147. -vt[m]                          View Technical file information
  2148.  
  2149. The -v option for PKUNZIP is the same as the -v option for PKZIP, with one
  2150. exception.  In PKUNZIP the `c' option for sorting refers to the CRC value.
  2151. For PKUNZIP this option refers to the Comment of a file.
  2152.  
  2153. For complete information, please see the -v option in the PKZIP Command
  2154. Reference.
  2155.  
  2156.                             See Also: PKZIP -v
  2157.  
  2158. _____________________________________
  2159. -x<filespec>    Exclude files from extraction
  2160. -x@list.lst     Exclude list of files from extraction
  2161.  
  2162. By specifying a -x as part of the PKUNZIP command, you may prevent a file or
  2163. group of files from being extracted.  Using -x with a list file will allow
  2164. you to exclude a list of files from extraction.
  2165.  
  2166.    pkunzip fd201.zip -x*.doc
  2167.  
  2168. In this example all files are extracted from the .ZIP file "fd201.zip" except
  2169. for those with a ".doc" extension.
  2170.  
  2171. -x may be used more than once on the command line, and may be used in
  2172. combination with specific filespecs and list files.
  2173.  
  2174.                              See Also: PKZIP -x
  2175.  
  2176. _____________________________________
  2177. -$   Restore volume label
  2178.  
  2179. This command is used to restore any volume label that has been stored in the
  2180. .ZIP file.  It is important to remember that the PKZIP command used to store
  2181. a volume label does not store a drive letter along with the label.  Upon
  2182. extraction, the volume label will be assigned to the target drive.
  2183.  
  2184.    C:\>pkunzip davebk.zip -$ a:
  2185.  
  2186. This example will extract the contents of "davebk.zip" to the A: drive.  If a
  2187. volume label was stored as part of the .ZIP file, the volume label for the
  2188. floppy in drive A: will be reset to the one contained in davebk.zip.
  2189.  
  2190.                              See Also: PKZIP -$
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197. ════════════════════════════════════════════════════════════════════════════
  2198. Shareware Publishing              PKUNZIP                                 55
  2199.  
  2200. _____________________________________
  2201. -@filename.lst     Generate LIST file
  2202.  
  2203. Please note that this option is different from using a list file.  When a
  2204. list file is to be read by PKZIP there is no dash in front of the @.
  2205.  
  2206. Using this option will cause a list file to be generated using the specified
  2207. file name instead of a normal PKUNZIP operation being performed.  The output
  2208. file will be a plain ASCII file with one file name per line, and will be
  2209. identical to the listing of files PKUNZIP would have extracted had the -@
  2210. option not been used.
  2211.  
  2212.    pkunzip underdem.zip -@showme.lst
  2213.  
  2214. This would create a list file called "showme.lst" containing a list of all
  2215. the files present within the .ZIP file.  File specs may be used in
  2216. conjunction with this type of command, in the same manner as a normal
  2217. extraction command.  Also the -e option may be used for sorting.  The
  2218. following example creates an alphabetized list file of only the ".doc" files
  2219. within it:
  2220.  
  2221.    pkunzip manuals.zip -en *.doc -@docs.lst
  2222.  
  2223. The extension of ".lst" on a list file is not mandatory, but recommended for
  2224. clarity.
  2225.  
  2226.                            See Also: "Using List Files",
  2227.                                  PKZIP @, -@
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253. ════════════════════════════════════════════════════════════════════════════
  2254. 56                               PKUNZIP                             PKZIP 2
  2255.  
  2256. PKSFX/ZIP2EXE
  2257. ════════════════════════════════════════════════════════════════════════════
  2258.  
  2259. The PKZIP utilities offer a self-extraction capability.  This means that you
  2260. can make a .ZIP file into an .EXE file.  This file will in effect be able to
  2261. extract itself. A  PKSFX (PK-Self Extracting) file consists of a .ZIP file
  2262. which has been transformed into a self-extracting file by the utility
  2263. ZIP2EXE. There is no utility or file called "SFX" or "PKSFX", but the
  2264. self-extracting file will show PKSFX on the banner in the same manner as
  2265. PKUNZIP:
  2266.  
  2267.    PKSFX (R)  FAST!  Self Extract Utility  Version 2
  2268.    Copr. 1989-1992 PKWARE Inc. All Rights Reserved. PKSFX/h for help
  2269.    PKSFX Reg. U.S. Pat. and Tm. Off.
  2270.  
  2271. Creating a Self-Extracting File
  2272.  
  2273. In order to create a self-extracting file, you must first create a .ZIP file.
  2274. Once this .ZIP file is created, use the ZIP2EXE utility to transform this
  2275. .ZIP file into an .EXE file.
  2276.  
  2277.    D:\>zip2exe test.zip
  2278.  
  2279.    ZIP2EXE (tm)     Self-Extract Creator     Version 2
  2280.    Copr. 1989-1992 PKWARE Inc. All Rights Reserved. ZIP2EXE/h for help
  2281.  
  2282.    TEST.ZIP => TEST.EXE
  2283.  
  2284.    D:\>
  2285.  
  2286. As you can see, an .EXE file by the same name as the .ZIP file is created.
  2287. The original .ZIP file is not deleted.
  2288.  
  2289. Meet Junior
  2290.  
  2291. **  Turning a .ZIP file into an .EXE file increases the size because of the
  2292.     included extraction program.  The added size is approximately 13.5K
  2293.     bytes. If space is at a premium, and you are willing to sacrifice
  2294.     functionality for size, try PKSFX Junior(TM).
  2295.  
  2296. The PKSFX Junior is somewhat smaller, and offers very few command line
  2297. options due to this reduced size.  The options which are available with
  2298. the PKSFX Junior are indicated on the PKSFX command summary.
  2299.  
  2300. To create a PKSFX Junior file, add the command line option -j when performing
  2301. the ZIP2EXE step.
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309. ════════════════════════════════════════════════════════════════════════════
  2310. Shareware Publishing         PKSFX/ZIP2EXE                                57
  2311.  
  2312.  
  2313.    D:\>zip2exe -j test.zip
  2314.  
  2315. **  PKSFX Junior adds approximately 3K bytes to the .ZIP file.
  2316.  
  2317. PKSFX Junior can handle a maximum of 512 files.  Although PKSFX Junior has
  2318. this limit to the number of files it can handle, there is no limit to the
  2319. file size.
  2320.  
  2321. PKUNZIP Junior
  2322. ════════════════════════════════════════════════════════════════════════════
  2323. PKUNZJR.COM
  2324.  
  2325. The PKUNZIP Junior program is an extremely small stand-alone extraction
  2326. program.  It is used in the same manner as PKUNZIP but it has only the
  2327. functionality of the PKSFX Junior self-extractor.
  2328.  
  2329.     PKUNZIP(R)  FAST!  Mini Extract Utility  Version 2
  2330.     Copr. 1989-1992 PKWARE Inc. All Rights Reserved.
  2331.     PKUNZIP Reg. U.S. Pat. and Tm. Off.
  2332.  
  2333. Usage:  pkunzjr [-o] filename[.zip] [output_path]
  2334.  
  2335. PKUNZIP Junior has one option, -o.  This option is the same as that for
  2336. PKUNZIP (Senior).
  2337.  
  2338. PKUNZIP Junior accepts the .ZIP file name on the command line, and may
  2339. optionally accept an output path.  PKUNZIP Junior cannot extract specific
  2340. files, but must extract the entire .ZIP file.
  2341.  
  2342. PKUNZIP Junior cannot extract a file containing more that 512 files, and does
  2343. not support multiple volume .ZIP files.
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365. ════════════════════════════════════════════════════════════════════════════
  2366. 58                           Introduction                            PKZIP 2
  2367.  
  2368. PKSFX Command Summary
  2369.  
  2370. Command line syntax and options are the same as PKUNZIP.  The options listed
  2371. below are offered by a self-extracting file.
  2372.  
  2373. Syntax:        pksfx [option] [d:\path] [file]* [file]*
  2374.  
  2375. PKSFX indicates the name of the self-extracting file you are executing.  No
  2376. options are necessary if you wish to simply extract all files to the current
  2377. directory.  If you wish to extract the contents to another directory,
  2378. indicate the drive and/or path the files should extract to.  To extract only
  2379. particular files, indicate the name(s) at the end of the command line.
  2380.  
  2381. Options:
  2382.  
  2383. @listfile.lst            Specify list of files for extraction*
  2384.  
  2385. -c[m]                    Extract to console*
  2386.  
  2387. -d                       Re-create directories stored in .ZIP file*
  2388.  
  2389. -l                       Display software license agreement*
  2390.  
  2391. -n                       Extract only newer files*
  2392.  
  2393. -o                       Overwrite existing files
  2394.  
  2395. -p[a|b][c][#]            Extract to printer*
  2396.  
  2397. -s<password>             Decrypt with password*
  2398.  
  2399. -t                       Test file integrity*
  2400.  
  2401. *Indicates options not available in the PKSFX Junior and PKUNZIP Junior
  2402.  programs.
  2403.  
  2404. Options should be placed after the self-extracting files name.  If multiple
  2405. options are used they must be separated by a space and each must have its own
  2406. option indicator (either - or /).
  2407.  
  2408. All options behave in the same manner as they do with PKUNZIP, with one
  2409. exception.  The -s option cannot accept keyboard entry.  A password entered
  2410. with a self-extracting file must be able to be entered from the command line.
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421. ════════════════════════════════════════════════════════════════════════════
  2422. Shareware Publishing         PKSFX/ZIP2EXE                                59
  2423.  
  2424.  
  2425. Modifying a Self-Extracting File
  2426.  
  2427. A self-extracting file can be operated upon by PKZIP and PKUNZIP in a manner
  2428. identical to normal .ZIP files.  You will need to specify the full file name
  2429. including the EXE extension.
  2430.  
  2431.    C:\>pkzip test.exe -f d:\*.*
  2432.  
  2433. There is no difference between operating on a self-extracting file and a
  2434. normal .ZIP file.
  2435.  
  2436. A Note About Self-Extracting Files
  2437.  
  2438. When you create a self-extracting file, you are adding a copy of the
  2439. extraction code to that file.  Since this code duplicates the functionality
  2440. of the PKUNZIP program, it makes sense to use the self-extractor only when
  2441. PKUNZIP will not be present on the machine to extract the file.
  2442.  
  2443. If you create many self-extracting files for your own use, you will be using
  2444. more space unnecessarily.  Therefore it is recommended that you only use the
  2445. self-extracting capability when you are sending a file to someone that you
  2446. know does not have a compatible PKUNZIP.
  2447.  
  2448. Stripping the PKSFX Code
  2449.  
  2450. You may have occasion to want to keep the contents of a self-extracting file,
  2451. but wish to turn it back to a normal .ZIP file.
  2452.  
  2453. The ZIP2EXE offers an option to reverse the process.  This is done with the
  2454. command line switch -e:
  2455.  
  2456.    F:\>zip2exe -e test.exe
  2457.  
  2458. ZIP2EXE will recognize normal and PKSFX Junior files automatically.
  2459.  
  2460. Sending a Self-Extractor
  2461.  
  2462. If you are sending a PKSFX file to somone who is not familiar with data
  2463. compression and/or PKWARE products, we recommend you tell them to do the
  2464. following:
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477. ════════════════════════════════════════════════════════════════════════════
  2478. 60                           Introduction                            PKZIP 2
  2479.  
  2480. With PKSFX Junior:
  2481.  
  2482. 1) Create a temporary directory on the hard drive to hold the
  2483.    files contained in the self-extracting file.
  2484.  
  2485.    C:\>md temp
  2486.  
  2487. 2) Change to the directory that was just created.
  2488.  
  2489.    C:\>cd temp
  2490.    C:\temp>
  2491.  
  2492. 3) Place the diskette containing the self-extracting file into
  2493.    the A: or B: drive. 4) Type the name of the self-extractor,
  2494.    including the path to the floppy drive.
  2495.  
  2496.    C:\temp>a:test
  2497.  
  2498. With normal PKSFX:
  2499.  
  2500. 1) Place the diskette containing the self-extracting file into
  2501.    the A: or B: drive and change to that drive.
  2502.  
  2503.    C:\>a:
  2504.  
  2505. 2) Type in the following;
  2506.  
  2507.    A:\>test -d c:\temp
  2508.  
  2509. You may also wish to create a batch file or text file on the floppy disk
  2510. containing the above steps. The contents of the self-extractor will be placed
  2511. into this temporary directory. They can then examine or move the files at
  2512. their leisure.  The -d option ensures that any subdirectory information
  2513. included will be re-created, and causes PKSFX to create the temporary
  2514. directory for the user.
  2515.  
  2516. ────────────────────────────────────────────────────────────────────────────
  2517. A site license is required by a corporation, company, educational
  2518. institution, or governmental agency for use of PKWARE software on the total
  2519. number of computers that will use the software.
  2520.  
  2521. Use of PKWARE programs for personal use is covered by your purchase of a
  2522. single license for PKZIP.  A Distribution License is required by a
  2523. corporation, company, educational institution or governmental agency to use
  2524. PKWARE programs to facilitate the distribution of software to outside parties.
  2525.  
  2526. Please note that if a self-extracting file is used, a Distribution License is
  2527. required, because PKWARE code is distributed in the form of the PKSFX program
  2528. combined with the file(s) being distributed.
  2529.  
  2530. Please contact PKWARE for more information if you intend to distribute self-
  2531. extracting files.
  2532.  
  2533. ════════════════════════════════════════════════════════════════════════════
  2534. Shareware Publishing         PKSFX/ZIP2EXE                                61
  2535.  
  2536.  
  2537. Confirm before extract
  2538.  
  2539. If a PKSFX file has a .ZIP file comment attached, this comment is displayed
  2540. before the file is extracted.  By imbedding a Control-S character (Hex 13,
  2541. ASCII 19), you can cause PKSFX to pause. The display will look like this:
  2542.  
  2543.    Searching EXE: XXXXX.EXE -
  2544.    .
  2545.    .
  2546.    .
  2547.    (ZIP file comment text)
  2548.    .
  2549.    .
  2550.    .
  2551.    Do you want to extract these files now (y/n)?
  2552.  
  2553. Press 'Y' to extract the files, 'N' o abort.  Note that the Control-S
  2554. character is not displayed.  This control character may be located anywhere
  2555. within the comment.
  2556.  
  2557. If the user aborts by pressing 'N', an exit code of  12 will be returned by
  2558. PKSFX. PKSFX Junior will return an exit code of 8.
  2559.  
  2560.                               See: PKZIP -z for more
  2561.                             information on .ZIP file
  2562.                             comments, Appendix D for
  2563.                          more information on exit codes.
  2564.  
  2565. Memory Requirements
  2566.  
  2567. The memory requirements for PKSFX are similar to those of PKUNZIP.
  2568.  
  2569. PKSFX Junior, and PKUNZIP Junior require a minimum of 50K RAM free, and a
  2570. maximum of 64K RAM free.
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587.  
  2588.  
  2589. ════════════════════════════════════════════════════════════════════════════
  2590. 62                           Introduction                            PKZIP 2
  2591.  
  2592. USING LIST FILES
  2593. ════════════════════════════════════════════════════════════════════════════
  2594.  
  2595. PKZIP, PKUNZIP and PKSFX offer a powerful feature; list files.  List files are
  2596. simply listings of files.  They are used to simplify command lines, and make
  2597. repetitive tasks less troublesome.
  2598.  
  2599. List files can allow you to perform some complex tasks which otherwise would
  2600. not be possible. List files can not only be read, but can also be created by
  2601. PKZIP and PKUNZIP. Also, list files can be created and used by other programs,
  2602. such as StupenDOS", PKZOOM" and PKZMENU".
  2603.  
  2604. PKZIP and PKUNZIP use List Files in two ways: files to be included and files
  2605. to be excluded.  If a List File is being created, the contents will reflect a
  2606. listing of those files which would have been added, deleted, extracted or
  2607. listed during a normal PKZIP/PKUNZIP operation.
  2608.  
  2609. List File text may contain:
  2610.  
  2611. -> Comments
  2612.  
  2613. -> File Names
  2614.  
  2615. -> Wild Cards
  2616.  
  2617. -> Exact Path Names and Files
  2618.  
  2619. -> Drive Letters
  2620.  
  2621. List File text consists of plain ASCII.  These files may be created using any
  2622. text editor which can produce plain ASCII files, sometimes referred to as "DOS
  2623. Text".
  2624.  
  2625. All of the following lines would be valid in a List File:
  2626.  
  2627.    clowns.bmp
  2628.    *.exe
  2629.    project.*
  2630.    MSLR????.QWK
  2631.    ;This is a comment
  2632.    emp\census.txt  ;This is also a valid comment
  2633.    D:\data\february.wk1
  2634.    D:\games\majong\*.*
  2635.    D:\QWK\*.REP
  2636.  
  2637. A line in a list file is treated in an identical manner to files specified on
  2638. the command line.  Note that only files and comments are valid in a list file.
  2639. Both forward and backward slashes may be used in a list file.
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645. ════════════════════════════════════════════════════════════════════════════
  2646. Shareware Publishing         Using List Files                             63
  2647.  
  2648.  
  2649. Reading List Files
  2650.  
  2651. A list file can be used in two different ways with PKZIP and PKUNZIP:
  2652.  
  2653. -> Files to be acted upon in a ZIP operation.
  2654.  
  2655. -> Files to be excluded from a ZIP operation.
  2656.  
  2657. List files are usually specified with an @ (ASCII 64, normally above the 2 on
  2658. your keyboard).  The list file character can be changed by modifying the
  2659. configuration file.  Please note that the list file generation option (-@))
  2660. will also change to the selected list file character.  Avoid using a character
  2661. already used for another option.
  2662.  
  2663. The simplest example of using a List File is when a .ZIP file is going to be
  2664. created containing the files specfied. If a List File called "test.lst" was
  2665. created containing the following lines:
  2666.  
  2667.    *.COM
  2668.    300Z.TXT
  2669.  
  2670. And then used in a PKZIP command:
  2671.  
  2672.    C:\>pkzip sample.zip @test.lst
  2673.  
  2674. All .COM files in the current directory would be added to the .ZIP file
  2675. "SAMPLE.ZIP", as well as the file "300Z.TXT" if it existed.
  2676.  
  2677. The contents of a List File that is specified are included.  The contents of a
  2678. List File specified after a -x are excluded.  Multiple List Files to be
  2679. included and excluded may be specified on the command line in addition to file
  2680. names being listed alone on the command line.
  2681.  
  2682. Following are several example usages of List Files, each with a short
  2683. description of what action would be caused.
  2684.  
  2685.    C:\>pkzip first.zip @abc.lst -x@xyz.lst
  2686.  
  2687. All files specified in "abc.lst" would be added to the .ZIP file "first.zip".
  2688. Any files that match the file specification in "xyz.lst" would not be added.
  2689.  
  2690.    C:\>pkzip second.zip -d @abc.lst -x*.txt
  2691.  
  2692. All files listed in "abc.lst" would be deleted from the .ZIP file "first.zip".
  2693. Any files matching the "*.txt" specification would not be deleted.
  2694.  
  2695.    C:\>pkzip -vc third.zip @xyz.lst
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701. ════════════════════════════════════════════════════════════════════════════
  2702. 64                           Introduction                            PKZIP 2
  2703.  
  2704. A file listing with comments will be shown for all files in "third.zip" which
  2705. are listed in "xyz.lst"
  2706.  
  2707.    C:\>pkzip -rp backup.zip *.* -x@noback.lst
  2708.  
  2709. A .ZIP file containing the entire drive would be created, excluding any files
  2710. which match those in "noback.lst"
  2711.  
  2712. **  Don't forget to use the @ in front of a list file name.  If you do not use
  2713.     the @, the list file itself will be added to the .ZIP file.
  2714.  
  2715. Generating List Files
  2716.  
  2717. The Generation of list files can have many uses.  Some suggested ways to use
  2718. this feature are:
  2719.  
  2720. -> Dividing Files to be Zipped into logical groups
  2721.  
  2722. -> Easy exclusion of files already Zipped from a PKZIP operation
  2723.  
  2724. -> Complex Batch File operations
  2725.  
  2726. Keep in mind that a plain ASCII list file can be fed through other programs,
  2727. like 'sort', and can be used by some other applications such as StupenDOS or
  2728. PKZMENU.
  2729.  
  2730. The list file generated by PKZIP or PKUNZIP when the -@ option is used
  2731. contains the names of all the files which would have been acted upon in a
  2732. normal ZIP operation.
  2733.  
  2734. In a simple PKZIP command, the list file will contain a listing of all the
  2735. files which would have been archived by PKZIP.  If the list file is generated
  2736. with a freshen or update command, the list file will contain those files which
  2737. would have been added/updated in the .ZIP file.
  2738.  
  2739. To generate a list file of your entire C: hard drive:
  2740.  
  2741.    C:\>pkzip dummy -rp -@cdrive.lst
  2742.  
  2743. Note that the "dummy" .ZIP file name is necessary to have a valid PKZIP
  2744. command.
  2745.  
  2746. The list file generated by PKUNZIP will contain those files which would have
  2747. been extracted.
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757. ════════════════════════════════════════════════════════════════════════════
  2758. Shareware Publishing         Using List Files                             65
  2759.  
  2760.  
  2761. Using List files to debug
  2762.  
  2763. You may find the generation of list files helpful when you are testing batch
  2764. files. Let's say you have created a batch file which should compress several
  2765. files as a backup procedure.  Perhaps these files are very large and it takes
  2766. several minutes to compress each one.  This means that if you were to test the
  2767. batch file simply by running it, it could take quite a while to find a problem
  2768. and fix it.
  2769.  
  2770. By generating a list file of what would have been compressed, you can check
  2771. very quickly to make certain that the proper files are being selected.
  2772.  
  2773. List file size
  2774.  
  2775. The size of a list file that may be processed is limited.  The total size of
  2776. the list file depends upon two factors.
  2777.  
  2778. The first is path storage.  If paths are specified in the list file and are
  2779. NOT stored with the -P option, the list file size is limited to 7000 bytes.
  2780.  
  2781. If paths are specified and ARE stored, the list file size is limited to 9700
  2782. bytes.
  2783.  
  2784. If a list file has drive letters specified as part of the file names within
  2785. the file, the maximum list file size is reduced.  When paths are not stored
  2786. the maximum List File size is 5100 bytes.  When they are stored the maximum
  2787. List File size is 6600 bytes.
  2788.  
  2789. Note that this table corresponds to the total size of all list files being
  2790. used in a single command.
  2791.  
  2792.       ╔════════════════════════════╤══════════════════╤═══════════════════╗
  2793.       ║ List File Size Limits      │  No Path Storage │ Path Storage (-P) ║
  2794.       ╟────────────────────────────┼──────────────────┼───────────────────╢
  2795.       ║ Drive Letters in List File │    5100 bytes*   │       6600        ║
  2796.       ╟────────────────────────────┼──────────────────┼───────────────────╢
  2797.       ║ No Drive Letter            │       7000       │       9700        ║
  2798.       ╚════════════════════════════╧══════════════════╧═══════════════════╝
  2799.       *These numbers are approximate and may vary depending on your
  2800.        configuration.
  2801.  
  2802. If the list file is too big, you will receive an "Insufficient Memory" error.
  2803. If you have a list file which is too big, you may split it into two or more
  2804. smaller list files and perform multiple PKZIP operations.
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813. ════════════════════════════════════════════════════════════════════════════
  2814. 66                           Introduction                            PKZIP 2
  2815.  
  2816.  
  2817. Be Creative
  2818.  
  2819. The list file functions give you a whole new level of power with PKZIP.  When
  2820. defining a problem and searching for a solution, don't forget to consider the
  2821. power of these features.
  2822.  
  2823. Using the list file features can give you access to new abilities PKZIP would
  2824. not have inherently.  Here are some example situtations:
  2825.  
  2826. Removing Old Files
  2827.  
  2828. Suppose a .ZIP file 'work' contains 45 files.  The contents of 'work' are
  2829. extracted to a work directory and several of the files are deleted.  How do
  2830. you delete these files that are no longer necessary from the 'work' archive?
  2831. Doing it manually would be very tedious.
  2832.  
  2833. First create a list of the contents of the directory.  By redirecting these
  2834. file names to a list file you can capture an image of what needs to be kept in
  2835. the .ZIP file.
  2836.  
  2837.    C:\work>pkzip dummy.zip *.* -@keep.lst
  2838.  
  2839. The list file 'keep.lst' now contains the files we want preserved in the .ZIP
  2840. file, files not in this list will be deleted:
  2841.  
  2842.    C:\work>pkzip work.zip -d *.* -x@keep.lstC:\work>del keep.lst
  2843.  
  2844. The WORK.ZIP file now contains only those files which are also in the work
  2845. directory.
  2846.  
  2847. Sorting .ZIP Files
  2848.  
  2849. Files will be added to a .ZIP file in the order that they are listed in the
  2850. list file.  This can be useful if you want the contents of a .ZIP file to be
  2851. in a particular order. After generating a list file, bring it into an editor
  2852. and modify it to meet your need. To create a .ZIP file that is sorted in
  2853. alphabetical order, you would use the following series of commands:
  2854.  
  2855.    C:\work>pkzip test.zip *.* -@test.lst
  2856.    C:\work>sort < test.lst > sort.lst
  2857.    C:\work>pkzip test.zip @sort.lst
  2858.    C:\work>del test.lst sort.lst
  2859.  
  2860. The SORT command used above is a standard DOS program.  See your DOS
  2861. manual for further information on this useful feature.
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869. ════════════════════════════════════════════════════════════════════════════
  2870. Shareware Publishing         Using List Files                             67
  2871.  
  2872. USING DATA ENCRYPTION
  2873. ════════════════════════════════════════════════════════════════════════════
  2874.  
  2875. The PKZIP utilities offer the ability to protect stored data through
  2876. encryption.  You should use PKZIP's encryption ability in place of any other
  2877. encryption on files you intend to compress.
  2878.  
  2879. This encryption ability has been made integral to the function of PKZIP and
  2880. PKUNZIP to prevent the encryption from interfering with PKZIP's ability to
  2881. compress. If you feel the need to encrypt your data to protect it, and are
  2882. intending to compress the data as well, you should then use the encryption of
  2883. PKZIP.  Using the encryption capability of a spreadsheet or database program
  2884. will prevent PKZIP from compressing the data efficiently.
  2885.  
  2886. Encryption is enabled in PKZIP by use of the -s option.  The encryption key,
  2887. sometimes referred to as a "password", follows directly after the -s
  2888.  
  2889.    C:\>pkzip test.zip -ssecret d:\payroll\*.dbf
  2890.  
  2891. Above, all the "dbf" files from the payroll directory have been compressed
  2892. into a .ZIP file called "test.zip".  During the compression they are also
  2893. being encrypted based upon the key of "secret".
  2894.  
  2895. The encryption scheme used by PKZIP is complex and robust.  The encryption key
  2896. is used to generate a number of binary encryption keys which are in turn used
  2897. to determine how the compressed data is altered.  Neither the original key or
  2898. the derived keys are stored with the .ZIP file, nor are they retained anywhere
  2899. else for that matter.  This means you must remember the encryption key.
  2900.  
  2901.  
  2902.      ╔═══════════════════════════════════════════════════════════════════╗
  2903.      ║ IF YOU LOSE THE ORIGINAL ENCRYPTION KEY YOU WILL NEVER BE ABLE TO ║
  2904.      ║ EXTRACT THE FILE(S).                                              ║
  2905.      ╚═══════════════════════════════════════════════════════════════════╝
  2906.  
  2907.  
  2908. It is also not possible to derive the original keys by examining the
  2909. compressed data, or by analysis of original data versus encrypted data.  This
  2910. means that if you loose the key, there is no way to find it.  Shareware Publishing has
  2911. no special means or technology for deriving the key or extracting the data
  2912. without the key.
  2913.  
  2914. Also note that a minute change in the key completely alters the encryption
  2915. scheme.  This means that the key must be exact.  Any change in spelling,
  2916. capitalization or punctuation causes a key to be completely different.  Be
  2917. certain that you know what the encryption key is and will not lose, forget, or
  2918. mistype it.
  2919.  
  2920.  
  2921.  
  2922.  
  2923.  
  2924.  
  2925. ════════════════════════════════════════════════════════════════════════════
  2926. 68                           Introduction                            PKZIP 2
  2927.  
  2928.           ╔════════════════════════════════════════════════╗
  2929.           ║ DO NOT TRUST YOUR MEMORY ALONE.  WRITE IT DOWN.║
  2930.           ╚════════════════════════════════════════════════╝
  2931.  
  2932. Capitalization is also important.  "Secret", "secret" and "SECRET" are all
  2933. completely different encryption keys.
  2934. You should realize that a person who knows you could attempt to extract a file
  2935. you have encrypted by using words they think you will use or can remember
  2936. easily.  This would be items such as:
  2937.  
  2938.   ≡ Your Spouse's name
  2939.  
  2940.   ≡ Your Social Security Number
  2941.  
  2942.   ≡ Your Address
  2943.  
  2944.   ≡ Your Dog's name
  2945.  
  2946.   ≡ Etc...
  2947.  
  2948. Long Keys
  2949.  
  2950. It is possible to have extremely long keys, or keys with spaces in them.  The
  2951. length of the encryption key is limited only by the length of a DOS command
  2952. line. To use a key with spaces in it, you must enclose the password in
  2953. quotation marks:
  2954.  
  2955.    C:\>pkzip test.zip -s"mary had a little lamb" *.dbf
  2956.  
  2957. Passwords of this sort may be easy to remember, while proving to be very
  2958. secure. Remember to use phrases that are not obvious to someone who knows you.
  2959.  
  2960. Complex Keys
  2961.  
  2962. If PKZIP or PKUNZIP is specified with only the -s and no encryption key
  2963. following, the user is prompted for an encryption key.
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977.  
  2978.  
  2979.  
  2980.  
  2981. ════════════════════════════════════════════════════════════════════════════
  2982. Shareware Publishing        Using Data Encryption                         69
  2983.  
  2984.    C:\>zip test -s *.com
  2985.  
  2986.    PKZIP (R)  FAST!  Create/Update Utility  Version 2
  2987.    Copr. 1989-1992 PKWARE Inc.  All Rights Reserved.  PKZIP/h for help
  2988.    PKZIP Reg. U.S. Pat. and Tm. Off.   Patent No. 5,051,745
  2989.  
  2990.    Password ? ******
  2991.  
  2992.    ■80486 CPU detected.
  2993.    ■XMS version 2.00 detected.
  2994.    ■Novell Netware version 3.11 detected.
  2995.    ■Using Super Fast Compression.
  2996.  
  2997.    Creating ZIP: TEST.ZIP
  2998.    Adding: COMMAND.COM  Deflating (36%), done.
  2999.    Adding: 4DOS.COM     Deflating (34%), done.
  3000.  
  3001. Asterisks are displayed in place of each character as you enter the encryption
  3002. key.  This feature offers added security in the event somone is watching as
  3003. you type in the password.
  3004.  
  3005. This method of entry may be easier or more comfortable to use.  This also
  3006. allows you to enter characters for the encryption key which cannot normally be
  3007. entered from the keyboard.
  3008.  
  3009. In order to enter one of these characters, hold down the [ALT] key and type
  3010. the ASCII value of the character you wish to enter on the number pad.  When
  3011. you release the [ALT] key the character equal to the value typed will be
  3012. entered into the Password field.
  3013.  
  3014. The [TAB] key and other keys which could not normally be used since they would
  3015. interfere with the PKZIP command line can be used when the password is entered
  3016. in this manner.
  3017.  
  3018. Passwords entered in this manner are limited to a maximum length of 64
  3019. characters.
  3020.  
  3021. Multiple Keys
  3022.  
  3023. Passwords can be used not only when creating a new .ZIP file but also when
  3024. files are being added to an already existing .ZIP file.  Let's assume you have
  3025. a .ZIP file called "keyfun.zip" and it contains two files:
  3026.  
  3027.    june91.wk1
  3028.    june91.wp
  3029.  
  3030. We'll also say that neither of these files are encrypted.  Now let's add
  3031. another file to this .ZIP file, and encrypt it while doing so:
  3032.  
  3033.    C:\>pkzip keyfun.zip -sPiZzA sensitiv.txt
  3034.  
  3035. This will add the file "sensitiv.txt" with a encryption key of "PiZzA".
  3036.  
  3037. ════════════════════════════════════════════════════════════════════════════
  3038. 70                        Using Data Encryption                      PKZIP 2
  3039.  
  3040.  
  3041. Now add another file to the same .ZIP file with a different key:
  3042.  
  3043.    C:\>pkzip keyfun.zip -sDukeNUKE diary.txt
  3044.  
  3045. At this point you have four files in "keyfun.zip".  Two are not encrypted at
  3046. all, and two are, but with different keys. A view of the file would appear
  3047. like this:
  3048.  
  3049.    C:\>pkunzip -v keyfun
  3050.    PKUNZIP (R)   FAST!   Extract Utility   Version 2
  3051.    Copr. 1989-1992 PKWARE Inc. All Rights Reserved. PKUNZIP/h for help
  3052.    PKUNZIP Reg. U.S. Pat. and Tm. Off.
  3053.  
  3054.    ■80486 CPU detected.
  3055.    ■EMS version 4.00 detected.
  3056.    ■XMS version 3.00 detected.
  3057.  
  3058.    Searching ZIP: KEYFUN.ZIP
  3059.  
  3060.    Length  Method     Size Ratio   Date    Time    CRC-32  Attr  Name
  3061.     -----  -------   -----  ---  --------  -----  -------- ----  ------------
  3062.     11664  Deflate    6937  41%  01-30-92  11:57  183b5606 --w-  JUNE91.WK1
  3063.     76812  Deflate   23404  70%  01-30-92  12:03  971fea04 --w-  JUNE91.WP
  3064.      5327  Deflate    2082  61%  10-14-91  11:25  924efc72 --w-* SENSITIV.TXT
  3065.      3664  Deflate    1654  55%  04-04-91  10:32  c8d5c9cf --w-* DIARY.TXT
  3066.     -----            -----  ---                                  ------------
  3067.     97467            34077  66%                                        4
  3068.  
  3069. Notice the * next to the Attribute column above.  This indicates that a file
  3070. is encrypted.
  3071.  
  3072. Now, if you try to extract the file with no decryption key present you will
  3073. only be able to extract the two files that are not encrypted:
  3074.  
  3075.    PKUNZIP (R)   FAST!   Extract Utility   Version 2
  3076.    Copr. 1989-1992 PKWARE Inc. All Rights Reserved. PKUNZIP/h for help
  3077.    PKUNZIP Reg. U.S. Pat. and Tm. Off.
  3078.  
  3079.    ■80486 CPU detected.
  3080.    ■EMS version 4.00 detected.
  3081.    ■XMS version 3.00 detected.
  3082.  
  3083.    Searching ZIP: KEYFUN.ZIP
  3084.     Inflating: JUNE91.WK1
  3085.     Inflating: JUNE91.WP
  3086.    PKUNZIP: (W12) Warning! Skipping encrypted file: SENSITIV.TXT
  3087.    PKUNZIP: (W12) Warning! Skipping encrypted file: DIARY.TXT
  3088.  
  3089. Extracting the file with a decryption key will extract any file that the key
  3090. is valid for, but an error will be reported on any files with a different key.
  3091.  
  3092.  
  3093. ════════════════════════════════════════════════════════════════════════════
  3094. Shareware Publishing        Using Data Encryption                         71
  3095.  
  3096.  
  3097.    C:\>pkunzip keyfun -sPiZzA -o
  3098.  
  3099.    PKUNZIP (R)   FAST!   Extract Utility   Version 2
  3100.    Copr. 1989-1992 PKWARE Inc. All Rights Reserved. PKUNZIP/h for help
  3101.    PKUNZIP Reg. U.S. Pat. and Tm. Off.
  3102.  
  3103.    ■80486 CPU detected.
  3104.    ■EMS version 4.00 detected.
  3105.    ■XMS version 3.00 detected.
  3106.  
  3107.    Searching ZIP: KEYFUN.ZIP
  3108.     Inflating: JUNE91.WK1
  3109.     Inflating: JUNE91.WP
  3110.     Inflating: SENSITIV.TXT
  3111.    PKUNZIP: (W14) Warning! Incorrect password for file: DIARY.TXT
  3112.  
  3113.  
  3114. How secure is PKZIP encryption?
  3115.  
  3116. There are many factors to consider when using PKZIP encryption.  There are
  3117. also several levels and implications to consider.
  3118.  
  3119. The first level of security is physical.  Who has access to the .ZIP file?
  3120. You need to be aware of who might be able to get to sensitive data located on
  3121. your machine, on your floppies, or on your personal network drive.
  3122.  
  3123. The potential hazards of using data encryption cannot be stressed strongly
  3124. enough.  Make certain that you will be able to recall what was used for the
  3125. encryption key.  Also be certain that all people who need to be able to access
  3126. this data have agreed upon how the encryption will be performed.
  3127.  
  3128. It does happen that people encrypt very important data, and then go on
  3129. "vacation" to a distant land, or meet their untimely demise, without first
  3130. passing on the encryption key.  In these sorts of eventualities the data is
  3131. gone.  So consider well before you encrypt or allow the encryption of
  3132. information.  If this information is so vital to you that you feel you must
  3133. encrypt it, consider what the loss of it would mean to you.
  3134.  
  3135. All forms of encryption, including the one used by PKZIP, are open to "brute
  3136. force" attacks.  This form of attack is simply the trying of many passwords
  3137. until you find one that works.
  3138.  
  3139. In order to help you protect your data from this sort of attack we present
  3140. figures on how long a brute force attack, using a computer, would take.  The
  3141. scenario we present here assumes that your encrypted .ZIP file is being
  3142. assaulted by a program which is designed specifically to do this.
  3143.  
  3144. An encryption key may contain any valid ASCII character, not just A-Z in upper
  3145. and lower case and punctuation marks.  However, most people will just use the
  3146. latter.  The following table is indexed by the complexity of the password.
  3147. Across the top is the range of
  3148.  
  3149. ════════════════════════════════════════════════════════════════════════════
  3150. 72                        Using Data Encryption                      PKZIP 2
  3151.  
  3152. characters used.  The simplest assumes that only lower case letters from a to
  3153. z were used.  The next column assumes that all printable characters were used
  3154. (a to z in upper and lower case, punctuation, brackets, etc.).  The last
  3155. column assumes a password containing the complete range of ASCII characters.
  3156.  
  3157. The vertical index is the length of the password used.  This impacts the
  3158. strength of the password greatly.  Think of it as a combination lock.  A
  3159. combination lock with only two numbers would be much easier to break than one
  3160. with three or four numbers.
  3161.  
  3162. We recommend that if you need a truly secure encrypted file, use an encryption
  3163. key of at least six characters.
  3164.  
  3165. The last assumption made is about the speed of the attacking program.  For the
  3166. purposes of this table, we assume that 10,000 possible keys are being
  3167. attempted per second.
  3168.  
  3169.  
  3170.             Password "Hacking" Time
  3171.     ╔════════╤═══════════════╤═══════════════╤════════════════════╗
  3172.     ║  Key   │ 26 characters │ 96 characters │   256 characters   ║
  3173.     ║ Length │    (a-z)      │ (a-z,A-Z,etc) │    (All ASCII)     ║
  3174.     ╟────────┼───────────────┼───────────────┼────────────────────╢
  3175.     ║    3   │ 2 seconds     │ 1 minute      │  27 minutes        ║
  3176.     ╟────────┼───────────────┼───────────────┼────────────────────╢
  3177.     ║    4   │ 1 minute      │ 2.35 hours    │  4 days            ║
  3178.     ╟────────┼───────────────┼───────────────┼────────────────────╢
  3179.     ║    5   │ 19 minutes    │ 9 days        │  3 years           ║
  3180.     ╟────────┼───────────────┼───────────────┼────────────────────╢
  3181.     ║    6   │ 8.6 hours     │ 2 years       │  891 years         ║
  3182.     ╟────────┼───────────────┼───────────────┼────────────────────╢
  3183.     ║    7   │ 9 days        │ 238 years     │  2283 centuries    ║
  3184.     ╟────────┼───────────────┼───────────────┼────────────────────╢
  3185.     ║    8   │ 241 days      │ 228 centuries │  584,546 cent.     ║
  3186.     ╟────────┼───────────────┼───────────────┼────────────────────╢
  3187.     ║    9   │ 17 years      │ 21,945 cent.  │  149,643,989 cent. ║
  3188.     ╟────────┼───────────────┼───────────────┼────────────────────╢
  3189.     ║   10   │ 447 years     │ 2,106,744     │  38,308,861,211    ║
  3190.     ║        │               │  centuries    │   centuries        ║
  3191.     ╚════════╧═══════════════╧═══════════════╧════════════════════╝
  3192.  
  3193.  
  3194. Choose the complexity that you feel meets your needs, but keep in mind all
  3195. that has been mentioned about losing and forgetting passwords.
  3196.  
  3197. These figures represent the state of technology today.  PKWARE Inc. cannot
  3198. predict future technologies which may allow faster attempts at decryption of a
  3199. .ZIP file.
  3200.  
  3201. Note that the above figures do not include the time needed to actually try all
  3202. valid passwords.  This would increase the time by several hundred percent,
  3203. dependent upon the length of the file.
  3204.  
  3205. ════════════════════════════════════════════════════════════════════════════
  3206. Shareware Publishing        Using Data Encryption                         73
  3207.  
  3208. PKZIP CONFIGURATION
  3209. ════════════════════════════════════════════════════════════════════════════
  3210. Configuring PKZIP with PKCFG.EXE and the PKZIP.CFG file
  3211.  
  3212. PKZIP can have several of its features configured semi-permanently.  These
  3213. configuration changes are made through a configuration file called PKZIP.CFG.
  3214.  
  3215. This configuration file can be located in one of three places:
  3216.  
  3217.   1) The current directory
  3218.   2) A directory specified with the environment variable PKZIP.CFG
  3219.   3) The directory in which PKZIP.EXE is located
  3220.  
  3221. PKZIP will search for the configuration in each location
  3222. in the order listed above. This means that you may have a default
  3223. configuration file that is easily overridden by using a configuration file in
  3224. either of the first two locations.
  3225.  
  3226. **  Any option that is set in the configuration file may be overridden from
  3227.     the command line.
  3228.  
  3229. The configuration file may either be created manually with a text editor, or
  3230. through the use of the included utility, PKCFG.EXE
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.  
  3248.  
  3249.  
  3250.  
  3251.  
  3252.  
  3253.  
  3254.  
  3255.  
  3256.  
  3257.  
  3258.  
  3259.  
  3260.  
  3261. ════════════════════════════════════════════════════════════════════════════
  3262. 74                         PKZIP Configuration                       PKZIP 2
  3263.  
  3264.  
  3265. PKCFG
  3266.  
  3267. The PKCFG program will look for an existing configuration file in the same
  3268. locations and order that PKZIP would.  If the PKCFG program finds an existing
  3269. configuration file it will load it.  The existing configuration values will be
  3270. shown in place of the defaults.
  3271.  
  3272. A list of options will be displayed on the screen.  A highlighted cursor
  3273. indicates the option you can modify.  Use the  [UP Arrow] and [DOWN Arrow]
  3274. keys to move up and down through the list.
  3275.  
  3276. Options may be toggled with either the the [LEFT Arrow] and [RIGHT Arrow] keys
  3277. or by pressing the [ENTER] key. Some options have complex possibilities.  When
  3278. one of these is modified, a small dialog box with options to be changed will
  3279. be displayed.
  3280.  
  3281. To reset all displayed options to the default values press [F5].  In order to
  3282. save the options you have selected to the configuration file, press [F1].
  3283. Press [F10] to exit the program.  If you exit without saving changes, you will
  3284. be prompted.
  3285.  
  3286. PKZIP.CFG
  3287.  
  3288. The options available in a configuration file are shown in the table on the next
  3289. page.  The "Default Value" column shows the default value of each option.
  3290.  
  3291. The default is the value that would be assumed if the option were not specified
  3292. in the configuration file.
  3293.  
  3294.  
  3295. ** NOTE: PKCFG is included with the registered version of PKZIP, and is
  3296.      not included with the shareware version.
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307.  
  3308.  
  3309.  
  3310.  
  3311.  
  3312.  
  3313.  
  3314.  
  3315. ════════════════════════════════════════════════════════════════════════════
  3316. Shareware Publishing        PKZIP Configuration                           75
  3317.  
  3318.                Configuration File Options
  3319. ╔═════════════════════╦═════════════════════════╤════════════════════════╗
  3320. ║       Option        ║     Alternate Value     │     Default Value      ║
  3321. ╠═════════════════════╬═════════════════════════╪════════════════════════╣
  3322. ║ ANSI                ║ enabled                 │ disabled               ║
  3323. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3324. ║ INCLUDE             ║ hidden/system           │ (none)                 ║
  3325. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3326. ║ MASK                ║ readonly/hidden/system  │ (none)                 ║
  3327. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3328. ║ RECURSE             ║ on                      │ off                    ║
  3329. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3330. ║ PATHS               ║ all, recurse            │ (none)                 ║
  3331. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3332. ║ ZIPDATE             ║ keep, latest            │ current                ║
  3333. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3334. ║ COMPRESS            ║ maximum, fast, speed    │ normal                 ║
  3335. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3336. ║ LISTCHAR            ║ (any)                   │ @                      ║
  3337. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3338. ║ OPTIONCHAR          ║ (any)                   │ -                      ║
  3339. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3340. ║ VIEW (Type)         ║ brief                   │ long                   ║
  3341. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3342. ║ VIEW (reverse sort) ║ reverse                 │ (none)                 ║
  3343. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3344. ║ VIEW (sort order)   ║ size, date, name, ratio │ natural                ║
  3345. ║                     ║ comments, extension     │                        ║
  3346. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3347. ║ EMS                 ║ disable                 │ enable                 ║
  3348. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3349. ║ XMS                 ║ disable                 │ enable                 ║
  3350. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3351. ║ NET                 ║ disable                 │ enable                 ║
  3352. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3353. ║ DPMI                ║ disable                 │ enable                 ║
  3354. ╟─────────────────────╫─────────────────────────┼────────────────────────╢
  3355. ║ 386                 ║ disable                 │ enable                 ║
  3356. ╚═════════════════════╩═════════════════════════╧════════════════════════╝
  3357.  
  3358. Options separated by a slash / character may be used alone or in combination
  3359. with others.  Options separated by a comma may not be combined with the
  3360. exception of VIEW.  With VIEW one option from each of the three categories may
  3361. be used in combination.
  3362.  
  3363. A configuration file consists of ASCII text.  This file may be created with
  3364. any text editor that can create a plain ASCII or `DOS Text' file.
  3365.  
  3366. Examples
  3367.  
  3368. Following are several example configuration files with explanations of what
  3369. they would accomplish.
  3370.  
  3371. ════════════════════════════════════════════════════════════════════════════
  3372. 76                         PKZIP Configuration                       PKZIP 2
  3373.  
  3374.  
  3375.    ;Example PKZIP.CFG #1
  3376.    ;Config files may contain comments if they are prefaced by a
  3377.    ;semi-colon
  3378.    PATHS=recurse
  3379.    VIEW=brief/reverse/size
  3380.    COMPRESS=speed
  3381.  
  3382. The first example configuration file does the following:
  3383.  
  3384. -> Turns on the storage of paths that are found during recursion.  This would
  3385.    make all commands using the -r option behave as though the -rp option was
  3386.    used.
  3387.  
  3388. -> Any view (-v) command used without options will be shown in brief format,
  3389.    sorted in reverse order of the file size.
  3390.  
  3391. -> All commands that do not specify the compression type will use the fastest
  3392.    (-es) method of compression.
  3393.  
  3394.    ;Example PKZIP.CFG #2
  3395.    INCLUDE=hidden/system
  3396.    RECURSE=on
  3397.    PATHS=all
  3398.    VIEW=extension
  3399.    EMS=off
  3400.    COMPRESS=maximum
  3401.  
  3402. The second example configuration file does the following:
  3403.  
  3404. -> Causes PKZIP to archive hidden and system files by default.  Hidden and
  3405.    system files are normally skipped by PKZIP and not visible in directory
  3406.    listings.
  3407.  
  3408. -> Any command will behave as though the -r option has been used
  3409.  
  3410. -> All paths will be stored, both those specified on the command line and
  3411.    those found through recursion(-r).
  3412.  
  3413. -> Any view (-v) command used without options will be shown sorted in order of
  3414.    file extension.  Note that the view would be long, the default value.  If
  3415.    the view command were specified with -vb using the configuration file, the
  3416.    view would be brief, but the sort order specified in the configuration file
  3417.    would still be in effect unless overridden with a command line option.
  3418.  
  3419. -> EMS usage is disabled.
  3420.  
  3421. -> All commands that do not specify the compression type would use the highest
  3422.    compression possible (-ex).
  3423.  
  3424. ** NOTE: The options for zipping to multiple floppy disks are documented
  3425.      in the ADDENDUM.DOC file.
  3426.  
  3427. ════════════════════════════════════════════════════════════════════════════
  3428. Shareware Publishing        PKZIP Configuration                        77-81
  3429.  
  3430. Application for Authenticity Verification
  3431.  
  3432. In the United Kingdom AV codes are sent automatically to registered
  3433. users who fill in and return their registration cards.  The printed
  3434. user manual contains the registration card.
  3435.  
  3436. Customers of Shareware Publishing do not have to apply separately
  3437. for an AV code.
  3438.  
  3439.  
  3440.  
  3441. F.A.Q.
  3442. ════════════════════════════════════════════════════════════════════════════
  3443. (Frequently Asked Questions)
  3444.  
  3445. This section lists some common questions about PKZIP and related subjects.  We
  3446. hope you will find this information helpful.
  3447.  
  3448. Why do I get the message "Bad Command or Filename"?
  3449. ===================================================
  3450.  
  3451. If you see this message, DOS is telling you it can't find the program
  3452. you are referring to.  This can happen because you are either not spelling the
  3453. name of the program properly, or you didn't put a space between the program
  3454. name and its options, or the program is not in your path.
  3455.  
  3456. Please see the Installation section and your DOS manual for more information.
  3457.  
  3458. Why is this program so complicated?
  3459. ===================================
  3460.  
  3461. PKZIP initially was used to compress files that would be sent by modem.  The
  3462. people using PKZIP were mostly hobbyists with a fair amount of computer
  3463. experience.  PKZIP was designed to be powerful and fast.
  3464.  
  3465. Someone who is familiar with the workings of PKZIP can be very efficient with
  3466. the command line.  The command line interface is vital for automated or batch
  3467. use of PKZIP.
  3468.  
  3469. Although PKZIP may seem very complex at first, it is easy to master if you
  3470. take one step at a time.  Start simply by following the Tutorial, then
  3471. experiment and build on that knowledge as you need more features.
  3472.  
  3473. Users who prefer using Graphical User Interfaces may wish to consider the
  3474. "PKZMENU" product from PKWARE.  This easy to use menu-driven program offers
  3475. PKZIP compatibility.  It features drop-down menus and a simple point and shoot
  3476. interface.
  3477.  
  3478.  
  3479.  
  3480.  
  3481.  
  3482.  
  3483.  
  3484.  
  3485.  
  3486.  
  3487.  
  3488.  
  3489.  
  3490.  
  3491.  
  3492.  
  3493.  
  3494. ════════════════════════════════════════════════════════════════════════════
  3495. 82                              F.A.Q.                               PKZIP 2
  3496.  
  3497.  
  3498. Why didn't the files I Zipped get any smaller?
  3499. ==============================================
  3500.  
  3501. On occasion, you may find that the files you add to a .ZIP file do not
  3502. compress.  These files will be "stored".  This will happen when a file is
  3503. either already compressed or encrypted.
  3504.  
  3505. In both cases the redundancy of the file will be gone, making compression
  3506. difficult if not impossible.  If the file is encrypted you should first save
  3507. it without encryption, and then use the encryption feature of PKZIP.
  3508.  
  3509. You will often find that files distributed with commercial applications are
  3510. already compressed.  A common example would be the graphic data files that
  3511. come with games like Leisure Suit Larry or Ultima.
  3512.  
  3513. I zipped up a bunch of files but now I have LESS disk space!?
  3514. =============================================================
  3515.  
  3516. When PKZIP compresses files, it makes a copy of the original file.  The
  3517. original file(s) are still present.  If you wish to recover space that was
  3518. taken up by the original file(s), you must either delete them yourself, or
  3519. instruct PKZIP to delete the file(s) with the -m option.
  3520.  
  3521. What's the difference between -u and -f?
  3522. ========================================
  3523.  
  3524. The update and freshen options are very similar.  This may be confusing at
  3525. first, but the difference between them is fairly easy to understand.
  3526.  
  3527. The freshen option will tell PKZIP to archive any files which match those
  3528. already in the .ZIP file.  These files will only be re-compressed if they are
  3529. newer than the files already in the .ZIP file.  Each file is evaluated
  3530. individually.
  3531.  
  3532. The update option will archive all files, with one distinction.  If the -u is
  3533. not used, all files specified will be compressed and added to the .ZIP file,
  3534. even if they already exist in the .ZIP file.  By using the -u option, you
  3535. instruct PKZIP to compare what is already in the .ZIP file against what it was
  3536. asked to compress.  If a file is already present in the .ZIP file and is also
  3537. in the source directory, PKZIP will compress a file only if it is newer than
  3538. the copy of the file within the .ZIP file.  If a file in the source directory
  3539. is not already present in the target .ZIP file, PKZIP will add it to the .ZIP
  3540. file.
  3541.  
  3542. Is PKZIP compression "lossy" or "lossless"?
  3543. ===========================================
  3544.  
  3545. PKZIP uses a "lossless" compression scheme.  This means that 100% of the
  3546. original data is preserved and re-created.  There is  ...(continued)
  3547.  
  3548.  
  3549.  
  3550. ════════════════════════════════════════════════════════════════════════════
  3551. Shareware Publishing              F.A.Q                                   83
  3552.  
  3553.  
  3554. absolutely no difference between the data that you put in and the data which
  3555. you get back out.
  3556.  
  3557. There are other compression methods that are known as "lossy".  The idea
  3558. behind these compression methods is that if you throw away some of the data,
  3559. it becomes less complex and therefore can be compressed more.  This type of
  3560. compression is only useful for data that need not be precise.  This applies to
  3561. some applications that use pictures and sound.
  3562.  
  3563. How do I zip up subdirectories?
  3564. ===============================
  3565.  
  3566. In order to ZIP up subdirectories you must both recurse subdirectories and
  3567. preserve path names.  This is done with the -r and -p options in combination.
  3568. The options may be placed together as -rp.
  3569.  
  3570. When a .ZIP file is created with paths stored, these paths will be visible in
  3571. a view of the file (-v).
  3572.  
  3573. To re-create these subdirectories, or to place files into their original
  3574. subdirectories, the -d option must be used with PKUNZIP.
  3575.  
  3576. Please see the tutorial for more information.
  3577.  
  3578. I zipped up some subdirectories, but I can't get them to come back?
  3579. ===================================================================
  3580.  
  3581. Did you remember to use the -p option in addition to the -r option? You may
  3582. have stored files that are in subdirectories but not preserved the path names
  3583. as part of the .ZIP file.  To check if there are paths in the .ZIP file, do a
  3584. view of the file:
  3585.  
  3586.    pkunzip file.zip -v
  3587.  
  3588. If you do not see paths as part of the file names within the .ZIP file, then
  3589. paths were not stored and cannot be recovered.  If you do see paths all you
  3590. need to do is use the -d (directory creation) option when you extract the
  3591. files.
  3592.  
  3593. How do I unzip a single file that is in a subdirectory in the .ZIP file?
  3594. ========================================================================
  3595.  
  3596. Extracting a particular file from a .ZIP file is simple.  You type PKUNZIP
  3597. with the name of the .ZIP file and the name of the particular file you want.
  3598. With a .ZIP file that contains paths the procedure is basically the same.
  3599.  
  3600. Let's assume a "test" .ZIP file with these files in it:
  3601.  
  3602.  
  3603.  
  3604.  
  3605.  
  3606. ════════════════════════════════════════════════════════════════════════════
  3607. 84                              F.A.Q.                               PKZIP 2
  3608.  
  3609.    file1.txt
  3610.    apple\file2.txt
  3611.    apple\banana\file3.txt
  3612.  
  3613. To extract only "file2.txt" from this .ZIP file you must specify the complete
  3614. name. This would include the path.
  3615.  
  3616.    pkunzip test.zip apple\file2.txt
  3617.  
  3618. Note there is no leading slash.  This is how PKUNZIP differentiates between
  3619. the files you are extracting with paths, and the target directory. "file2.txt"
  3620. would be extracted to the current directory.  If you wanted to extract it with
  3621. its subdirectory simply include the -d option on the command line.
  3622.  
  3623. How do I unzip a directory without also extracting its subdirectories?
  3624. ======================================================================
  3625.  
  3626. Using the above "test" .ZIP file we could extract the entire contents of the
  3627. apple subdirectory easily:
  3628.  
  3629.    pkunzip test.zip apple\*.* -d
  3630.  
  3631. If we did it as shown above we would not only extract all the files in the
  3632. "apple" subdirectory, but also the "banana" subdirectory below it and any
  3633. files it contains.
  3634.  
  3635. To extract only the "apple" subdirectories contents, and nothing else, we must
  3636. exclude those directories we do not wish to extract:
  3637.  
  3638.    pkunzip test.zip apple\*.* -d -xapple\banana\*.*
  3639.  
  3640. If the "apple" subdirectory had multiple subdirectories off it you would need
  3641. to exclude each one individually on the command line.
  3642.  
  3643. What is an AV?
  3644. ==============
  3645.  
  3646. AV is short for "Authenticity Verification".  AV is a process whereby a copy
  3647. of PKZIP has unique codes and information contained in it identifying the
  3648. owner of the copy of PKZIP.  This information is then encoded into a .ZIP file
  3649. when it is created.
  3650.  
  3651. When the file is extracted by PKUNZIP, this information is checked.  If the
  3652. .ZIP file has been modified by a copy of PKZIP other than the one which
  3653. initially created it, PKUNZIP will report that the file has been tampered
  3654. with.
  3655.  
  3656. The advantage of this feature is to offer a layer of protection between the
  3657. creator of an archive and the recipient.  The recipient knows that the file
  3658. received is the file that was sent, as well as being able to identify the
  3659. creator if it is not known.
  3660.  
  3661.  
  3662. ════════════════════════════════════════════════════════════════════════════
  3663. Shareware Publishing              F.A.Q                                   85
  3664.  
  3665. Where is my AV number?
  3666. ======================
  3667.  
  3668. As a licensed user of PKZIP you are entitled to one AV number.  In order to
  3669. receive an AV number, you must return the registration card in a
  3670. licesed copy of the program. 
  3671.  
  3672. AV codes will not be returned by FAX, telephone, or any means other
  3673. than normal post.
  3674.  
  3675. Please note that although the initial AV code is included with your purchase
  3676. of a PKZIP license, changes or re-issues of an AV code may be at an additional
  3677. cost.
  3678.  
  3679. ** The serial number on the manual sent to you has no relation
  3680.    to the AV number.  The AV number is based solely on the
  3681.    information you provide for your AV identification string on the
  3682.    registration card.
  3683.  
  3684. I forgot my password, what do I do?
  3685. ===================================
  3686.  
  3687.    1. Read the chapter "Using Data Encryption"
  3688.    2. Try to remember the password.
  3689.    3. Try passwords that are "close" to what you think it was.
  3690.    4. Try mixed upper and lower case versions of your password.
  3691.  
  3692. **  There really is nothing that can be done if you lose or forget your
  3693.     password.  Don't forget or lose your passwords!  PKWARE has no special
  3694.     means for "getting around" the encryption and may not be able to assist in
  3695.     the recovery of an encrypted file.
  3696.  
  3697.        ╔════════════════════════════════════════════════════════════════╗
  3698.        ║ YOU SHOULD KEEP A WRITTEN COPY OF YOUR PASSWORD(S) IN A SECURE ║
  3699.        ║ PLACE.  DO NOT TRUST YOUR MEMORY ALONE.                        ║
  3700.        ╚════════════════════════════════════════════════════════════════╝
  3701.  
  3702. What does "Don't Know How to Handle" mean?
  3703. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3704. There are many different methods of compression.  In the history of PKZIP
  3705. alone there have been seven different methods to date.  The .ZIP file format
  3706. was designed so that additional methods of compression can be added as they
  3707. are developed.  In this way the .ZIP file format will never need to be
  3708. abandoned. If you attempt to extract a .ZIP file that was created with version
  3709. 2.0 or higher with a lower version of PKUNZIP you will receive the message
  3710. "Don't Know How to Handle" for every file compressed with a more advanced
  3711. algorithm.
  3712.  
  3713.  
  3714.  
  3715. ════════════════════════════════════════════════════════════════════════════
  3716. 86                              F.A.Q.                               PKZIP 2
  3717.  
  3718.  
  3719. If you attempt to extract a .ZIP file created with a version of PKZIP that
  3720. includes a method PKZIP 2.0 does not use, you will receive a warning that will
  3721. tell you what version of PKUNZIP you need.
  3722.  
  3723.  
  3724. What is a CRC and why did it fail?
  3725. ==================================
  3726.  
  3727. CRC is short for Cyclic Redundancy Check.  A CRC is a value computed to
  3728. represent the data content of a file.  The CRC is computed by PKZIP when it
  3729. archives the file, and computed a second time when the file is extracted. If
  3730. the second CRC does not match the first CRC, then a change has occurred in the
  3731. data. The cause of a CRC failure can vary. Here are some possible causes for
  3732. CRC failures.
  3733.  
  3734.  
  3735. I.  Failure on the machine that created the .ZIP file.
  3736.  
  3737.     A.  Failure immediately after creation.
  3738.  
  3739.     1.  On a 386/486 or higher there may be an obsolete or poorly written
  3740.         TSR or device driver interfering with PK(UN)ZIP.  Use the -3
  3741.         option with both PKZIP and PKUNZIP to see if this is the problem.
  3742.         Consult the Trouble Shooting section for more information.
  3743.  
  3744.     2.  "Clean boot" your machine.  Either re-name your autoexec.bat and
  3745.         config.sys files so that they are not loaded, or insert a DOS boot
  3746.         floppy and reset your machine.  Attempt extraction and compression
  3747.         of the file again.
  3748.  
  3749.     3.  The floppy/hard disk controller may be failing.  See if there is
  3750.         any difference in behavior if you compress to/from the hard disk
  3751.         or floppy drive.
  3752.  
  3753.     4.  Failing diskette media.
  3754.  
  3755.     5.  A bad memory chip.
  3756.  
  3757.     6.  Your computer is suffering from the "cache flaw".  This is caused
  3758.         by problems with the external CPU cache on your computer's
  3759.         motherboard.  See the Trouble Shooting section, -( option.
  3760.  
  3761.     B.  Failure after a period of time.
  3762.  
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768.  
  3769.  
  3770.  
  3771. ════════════════════════════════════════════════════════════════════════════
  3772. Shareware Publishing              F.A.Q                                   87
  3773.  
  3774.  
  3775.     1.  Any the above causes.
  3776.  
  3777.     2.  The file has been damaged during the time it was stored on the
  3778.         hard disk.  The can be caused by cross-linking or "lost" clusters.
  3779.         Some faulty disk-defragmenters and deletion recovery programs may
  3780.         cause this.
  3781.  
  3782.     3.  Deleting and then undeleting a .ZIP file.  "Undelete" programs are
  3783.         by no means flawless.  An undeleted or recovered file is very
  3784.         likely to fail, as most disk recovery programs are imperfect at
  3785.         best.
  3786.  
  3787. II. Failure on a network server.
  3788.  
  3789.     A.  Some network server software does not run properly on 386/486
  3790.     machines.  If PKZIP is used on the server CPU running this faulty
  3791.     network software, it will be interfered with by the network software.
  3792.  
  3793. III.Failure after transfer of a file by modem.
  3794.  
  3795.     A.  Any of the problems cited in section I may be the cause of a failure.
  3796.  
  3797.     B.  There was an error in the transfer of the file.  Use an "error-
  3798.     correcting" protocol such as ZMODEM to avoid these types of problems.
  3799.  
  3800.     C.  The file was transferred with "Kermit".  If you use Kermit you must
  3801.     set it to Binary mode.  PKZIP files are binary.
  3802.  
  3803.     D.  One of the computers or modems involved in the transfer has a problem.
  3804.  
  3805. IV. Failure after transfer by disk.
  3806.  
  3807.     A.  Any of the problems cited in section I may be the cause of a failure.
  3808.  
  3809.     B.  Faulty disk controller/floppy drive.
  3810.  
  3811.     C.  Faulty floppy disk.
  3812.  
  3813.     1.  The drive alignment between the two computers may be off enough to
  3814.         cause a data error.  Normally you will get a "disk failure"
  3815.         message from DOS.
  3816.  
  3817.     2.  The disk was damaged by a magnetic or heat source.
  3818.  
  3819.     3.  The disk media is worn out or defective.
  3820.  
  3821.  
  3822.  
  3823.  
  3824.  
  3825.  
  3826.  
  3827. ════════════════════════════════════════════════════════════════════════════
  3828. 88                              F.A.Q.                               PKZIP 2
  3829.  
  3830.  
  3831. What do "Bad Table" and "Inconsistent Local Header" mean?
  3832. =========================================================
  3833.  
  3834. If you receive either or both of the above messages, the .ZIP file is damaged
  3835. or has been tampered with.  These messages may also be accompanied by a CRC
  3836. failure.
  3837.  
  3838. All of the physical causes listed for CRC failures apply as possible causes of
  3839. these errors.
  3840.  
  3841. How can I make PKZIP run faster?
  3842. ================================
  3843.  
  3844. PKZIP defaults to a compression method that is average in both compression
  3845. amount and speed.  If you want to get the most speed out of PKZIP there are
  3846. several things you can do:
  3847.  
  3848.  1.  Specify a faster compression method with the -ef or -es option.
  3849.  
  3850.  2.  Use a large RAM disk as your temporary files drive.
  3851.      PKTMP=(RAM disk drive letter)
  3852.  
  3853.  3.  If you are creating the .ZIP file on a network drive, set your PKTMP
  3854.      equal to a drive on the same server.
  3855.  
  3856.  4.  Make as much conventional memory available as possible.
  3857.  
  3858. How many files can be in a .ZIP file?
  3859. =====================================
  3860.  
  3861. A .ZIP file may contain a maximum of 16,383 file entries under MS-DOS.  Due to
  3862. memory limitations this limit cannot actually be realized.  Under the current
  3863. memory scheme of DOS the largest number of files which may be in a .ZIP file
  3864. is approximately 9000 files.
  3865.  
  3866. The maximum number of files you can handle with a .ZIP file operation can be
  3867. calculated by the following formulas:
  3868.  
  3869. With No EMS or UMB's available:
  3870.  
  3871. (Free Conventional RAM - 375k) / 64 bytes = Maximum # of Files
  3872.  
  3873. With EMS available:
  3874.  
  3875. (Free Conventional RAM - 85k) / 64 bytes = Maximum # of Files
  3876.  
  3877. The "Super Fast" algorithm uses 32k less RAM than the other methods in PKZIP
  3878. 2. You will be able to compress an additional 500 files when using the "Super
  3879. Fast" method.
  3880.  
  3881. Note that the value of 64 bytes per file is approximate and may vary.
  3882.  
  3883. ════════════════════════════════════════════════════════════════════════════
  3884. Shareware Publishing              F.A.Q                                   89
  3885.  
  3886.  
  3887. When a .ZIP file is being updated, you must not only take into account the files
  3888. being added, but allow 70 bytes per file in the original .ZIP file.
  3889.  
  3890. Can I send a .ZIP file to a different type of computer?
  3891. =======================================================
  3892.  
  3893. As of the publication of this manual, PKWARE currently supports PKZIP
  3894. on MS-DOS and OS/2 platforms, PKWARE intends to support additional platforms
  3895. and will announce these as they become available.
  3896.  
  3897. Because PKWARE has dedicated the .ZIP file format to the public domain, it is
  3898. possible for other people to write programs which can read .ZIP files.
  3899.  
  3900.     ╔═══════════════════════════════════════════════════════════════════════╗
  3901.     ║ NOTE THAT THE PKZIP, PKUNZIP, PKSFX PROGRAMS AND THEIR ASSOCIATED     ║
  3902.     ║ SOURCE CODE AND SUPPORT PROGRAMS ARE THE EXCLUSIVE PROPERTY OF PKWARE ║
  3903.     ║ INC. AND ARE NOT PUBLIC DOMAIN SOFTWARE PROGRAMS.                     ║
  3904.     ╚═══════════════════════════════════════════════════════════════════════╝
  3905.  
  3906. We are currently aware of PKUNZIP compatible programs for a number of
  3907. different platforms.  A .ZIP file can be transferred to any platform for which
  3908. you can find a compatible extraction program.
  3909.  
  3910. Extraction and Compression programs not developed by PKWARE may not be
  3911. completely compatible with the .ZIP file standard.
  3912.  
  3913. Contact PKWARE for a list of platforms for which PKZIP and PKZIP compatible
  3914. software is available.
  3915.  
  3916. What is the difference between -b and pktmp?
  3917. ============================================
  3918.  
  3919. PKZIP creates two different types of temporary files, and allows
  3920. you to specify the location for these two types separately.  The two
  3921. situations where PKZIP creates temp files are:
  3922.  
  3923.  * When a file is being added to a .ZIP file.
  3924.  
  3925.  * When a .ZIP file is being modified.
  3926.  
  3927. It is advantageous to have the temporary files for the first instance written
  3928. on the fastest drive on your system, unless you are creating a .ZIP file on a
  3929. Novell Network.
  3930.  
  3931. The location for the temporary .ZIP file created when a .ZIP file is modified
  3932. is normally the same as the location of the original file.  In some cases you
  3933. may not have enough room on that drive.  When this occurs use the -b option to
  3934. relocate the temp file.
  3935.  
  3936.  
  3937.  
  3938.  
  3939. ════════════════════════════════════════════════════════════════════════════
  3940. 90                              F.A.Q.                               PKZIP 2
  3941.  
  3942. HOW DOES PKZIP WORK?
  3943. ════════════════════════════════════════════════════════════════════════════
  3944.  
  3945. This section has been omitted from the shareware manual to reduce the
  3946. download transmission time.  This section is contained in the registered
  3947. version.
  3948.  
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954.  
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.  
  3965.  
  3966.  
  3967.  
  3968.  
  3969.  
  3970.  
  3971.  
  3972.  
  3973.  
  3974.  
  3975.  
  3976.  
  3977.  
  3978.  
  3979.  
  3980.  
  3981.  
  3982.  
  3983.  
  3984.  
  3985.  
  3986.  
  3987.  
  3988.  
  3989.  
  3990.  
  3991.  
  3992.  
  3993.  
  3994.  
  3995. ════════════════════════════════════════════════════════════════════════════
  3996. Shareware Publishing        How Does PKZIP Work?                      91-100
  3997.  
  3998. TROUBLE SHOOTING
  3999. ════════════════════════════════════════════════════════════════════════════
  4000.  
  4001. This section offers some hints to aid you in locating and solving problems.
  4002. Part of this section includes PKZIP and PKUNZIP command line and configuration
  4003. file options that apply only to locating problems.
  4004. ╔═════════════════╤═══════════════════════════════════════════╤══════════════╗
  4005. ║  Problem        │       Solution/Reason                     │  See Also    ║
  4006. ╠═════════════════╪═══════════════════════════════════════════╪══════════════╣
  4007. ║"Error in .ZIP   │If you are just creating a .ZIP file for   │Use Tutorial  ║
  4008. ║ use PKZIPFIX" │ the first time and receive this error,      │              ║
  4009. ║ When compressing│ your command line is wrong.               │              ║
  4010. ╟─────────────────┼───────────────────────────────────────────┼──────────────╢
  4011. ║"Warning:Bad      │PKZIP or PKUNZIP is not in your path, or   │Use Tutorial  ║
  4012. ║ Command or File │ you have mis-typed the command.           │              ║
  4013. ║ Name"           │                                              │               ║
  4014. ╟─────────────────┼───────────────────────────────────────────┼──────────────╢
  4015. ║CRC Failure      │Get a new copy of the file.                │F.A.Q. Page XX║
  4016. ╟─────────────────┼───────────────────────────────────────────┼──────────────╢
  4017. ║File does not    │File is already compressed or is encrypted │F.A.Q. Page XX║
  4018. ║ compress        │                                           │              ║
  4019. ╟─────────────────┼───────────────────────────────────────────┼──────────────╢
  4020. ║Files are still  │PKZIP copies files by default, to move     │PKZIP -m      ║
  4021. ║ there after     │ (delete) them, use the -m option.         │ page XX      ║
  4022. ║ being Zipped    │                                           │              ║
  4023. ╟─────────────────┼───────────────────────────────────────────┼──────────────╢
  4024. ║Disk Full error  │Either the .ZIP file you are creating is   │PKZIP Backup  ║
  4025. ║                 │ too large to fit on the disk, or you do   │ Guide        ║
  4026. ║                 │ not have enough room to update an existing│              ║
  4027. ║                 │ .ZIP file.  Create a multi-volume .ZIP    │PKZIP -b page ║
  4028. ║                 │ file or use an alternate temporary drive. │ XX           ║
  4029. ╟─────────────────┼───────────────────────────────────────────┼──────────────╢
  4030. ║Can't find PKSFX │There is no program called PKSFX.  PKSFX   │PKSFX/ZIP2EXE ║
  4031. ║                 │ refers to a "Self-extracting .ZIP file".  │ page XX      ║
  4032. ║                 │ That is a .ZIP file that has been made    │              ║
  4033. ║                 │ into an executable file with the program  │              ║
  4034. ║                 │ ZIP2EXE.EXE                               │              ║
  4035. ╟─────────────────┼───────────────────────────────────────────┼──────────────╢
  4036. ║I have lots of   │Although PKZIP uses XMS/EMS memory, there  │"Using List   ║
  4037. ║ memory, but I'm │ are limitations that will occure due to   │ files"         ║
  4038. ║ getting an      │ your base (conventional) memory being     │ page XX      ║
  4039. ║ "Out of memory" │ limited. Try to clear up as much memory as│              ║
  4040. ║ error?          │ possible.  If you are attempting to       │              ║
  4041. ║                 │ compress more than 8,000 files at once you│              ║
  4042. ║                 │ will usually receive this error.          │              ║
  4043. ╟─────────────────┼───────────────────────────────────────────┼──────────────╢
  4044. ║Can't re-create  │Make certain you are using the -d option.  │F.A.Q. XX     ║
  4045. ║ subdirectories  │ If you are, and you still have this       │              ║
  4046. ║ or return files │ problem, subdirectories may not have been │              ║
  4047. ║ to their        │ stored in the .ZIP file.                  │              ║
  4048. ║ original dirs   │                                           │              ║
  4049. ╚═════════════════╧═══════════════════════════════════════════╧══════════════╝
  4050.  
  4051. ════════════════════════════════════════════════════════════════════════════
  4052. Shareware Publishing          Trouble Shooting                           101
  4053.  
  4054.  
  4055. _____________________________________
  4056. -3   Disable 32-bit instruction usage
  4057.  
  4058. This option is available for users with 80386/80486 type computers.  It is
  4059. used to turn OFF the added 32-bit instructions and register usage.  When 32-
  4060. bit instructions are available, PKZIP will utilize them to allow the program
  4061. to function even faster. However, if you are running a different program that
  4062. may conflict with the use of 32-bit instructions, you can disable them by
  4063. using this command.
  4064.  
  4065. 32-bit instructions will be disabled only for the current PKZIP operation.
  4066. They will then be enabled immediately after the command operation is
  4067. completed.
  4068.  
  4069. You can also disable 32-bit instructions all the time by using the PKNO386
  4070. environment variable.  To set the environment variable, type PKNO386=ON.  If
  4071. the string PKNO386 is present in the environment, then PKZIP (and PKUNZIP)
  4072. will not use 32-bit instructions or registers.
  4073.  
  4074. To enable 32-bit instructions after they have been disabled, type:
  4075.  
  4076.    SET PKNO386=[ENTER].
  4077.  
  4078. If you have persistent problems with another piece of software interfering with
  4079. PKZIP, and you cannot upgrade or discard that software, you may turn off 32-bit
  4080. instructions in the configuration file.  The pkzip.cfg option line is:
  4081.  
  4082.    386=DISABLE
  4083.  
  4084. Note that the configuration file is read only by PKZIP.  PKUNZIP can only be
  4085. set permanently by use of the environment variable.
  4086.  
  4087. You may override the configuration file or environment variable on PKZIP by
  4088. using a -3+ option.  This will cause PKZIP to use 32-bit instructions
  4089. regardless of the environment variable being set, or an entry in the
  4090. configuration file.
  4091.  
  4092. _____________________________________
  4093. -^   Echo the command line
  4094.  
  4095. This option is used to display the PKZIP command that you entered on the
  4096. console.  It is useful when you are debugging an application or batch file
  4097. which calls PKZIP.  The file specifications that you entered will be echoed on
  4098. the console along with the command output.
  4099.  
  4100. In this example, technical information about all of the *.doc files included
  4101. in the DOCS.ZIP file will be displayed.  The information will be sorted by
  4102. date, and the command line will be redisplayed on the screen above the output.
  4103.  
  4104.    E:\>pkzip docs.zip -vd -^ *.doc
  4105.  
  4106.  
  4107. ════════════════════════════════════════════════════════════════════════════
  4108. 102                           Trouble Shooting                       PKZIP 2
  4109.  
  4110.  
  4111. _____________________________________
  4112. -+   Disable EMS usage
  4113. --   Disable XMS/UMB usage
  4114.  
  4115. To use EMS/XMS/UMB features PKZIP and PKUNZIP require:
  4116.  
  4117. -> XMS version 2.0 or greater
  4118.  
  4119. -> EMS LIM 4.0 or greater
  4120.  
  4121. An XMS driver is required in order to have UMB and HMA support available.
  4122.  
  4123. PKZIP/PKUNZIP will use up to 256K of EMS memory.  If you are in a situation
  4124. where you need to preserve EMS memory for other use, such as when running a
  4125. multi-node BBS system, you may wish to disable this feature.
  4126.  
  4127. A conflict with your XMS/EMS driver can be eliminated by disabling EMS usage.
  4128. Problems relating to EMS usage would manifest themselves as:
  4129.  
  4130. -> Unexplainable machine lock-up.
  4131.  
  4132. -> Receiving "Warning:Bad Table" and "File fails CRC check" for every file in
  4133.    a .ZIP file being extracted.
  4134.  
  4135. EMS or XMS usage can be turned off in the configuration file with the
  4136. pkzip.cfg option:
  4137.  
  4138.    EMS=DISABLE
  4139.  
  4140.    XMS=DISABLE
  4141.  
  4142. If EMS has been disabled in the configuration file, you may force usage back
  4143. on with the -++ option.
  4144.  
  4145. If XMS has been disabled in the configuration file, you may force usage back
  4146. on with the --+ option.
  4147. _____________________________________
  4148. -~   Disable Network detection
  4149.  
  4150. When this option is specified, Network specific operations are disabled.  If
  4151. you feel you are experiencing problems due to a conflict with the Network
  4152. specific operations use this option.
  4153.  
  4154. If the problem is persistent enough that you wish to disable Network
  4155. operations all the time, you may do so with a configuration file command:
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163. ════════════════════════════════════════════════════════════════════════════
  4164. Shareware Publishing          Trouble Shooting                           103
  4165.  
  4166.  
  4167.    NET=DISABLE
  4168.  
  4169. If Network support has been disabled in the configuration file, you may force
  4170. usage back on with the -~+ option.
  4171. _____________________________________
  4172. -)   Disable DPMI Support
  4173.  
  4174. PKZIP and PKUNZIP require 32-BIT DPMI 0.90 or greater.
  4175. DPMI support uses an extra 6.5K of conventional or UMB memory.  If you are
  4176. extremely tight on memory you may wish to disable DPMI support.
  4177. If a failure occurs in the DPMI Support it can be disabled with this option.
  4178.  
  4179.    DPMI=DISABLE
  4180.  
  4181. If DPMI has been disabled in the configuration file, you may force usage back
  4182. on with the -)+ option.
  4183. _____________________________________
  4184. -(   Use "Slow" MemCopy
  4185.  
  4186. Some computers suffer from a flaw that causes them to have errors when
  4187. performing simple MemCopy functions.  This problem is generally caused the the
  4188. manufacturer's use of inferior grades or speeds of RAM chips for the external
  4189. CPU memory cache on the motherboard.
  4190.  
  4191. This behavior will most commonly be seen on on relatively fast machines
  4192. (486/25 and higher).
  4193.  
  4194. This feature is only available on 486 (or higher) CPU's.
  4195.  
  4196. This problem will most frequently exhibit itself in the form of unexplainable
  4197. CRC failures.
  4198.  
  4199. Use of this switch causes PKZIP to manipulate memory in a way that is less
  4200. susceptible to this problem.  Note that the added overhead in this process may
  4201. slow down PKZIP by 20% to 40%.
  4202.  
  4203.    SLOWMEMCOPY=ON
  4204.  
  4205. If normal MemCopy has been disabled in the configuration file, you may force
  4206. usage back on with the -(+ option.
  4207.  
  4208. PKUNZIP has been designed to be mostly immune to this problem.
  4209.  
  4210. Please note that the external CPU cache has no relation to printer or disk
  4211. caches.
  4212.  
  4213.  
  4214.  
  4215.  
  4216.  
  4217.  
  4218.  
  4219. ════════════════════════════════════════════════════════════════════════════
  4220. 104                           Trouble Shooting                       PKZIP 2
  4221.  
  4222.  
  4223. PKWARE CUSTOMER SUPPORT FORM
  4224. ════════════════════════════════════════════════════════════════════════════
  4225.  
  4226. Please photocopy and complete this form as completely as possible before
  4227. contacting our customer support.  By providing this information you help us to
  4228. provide assistance in an efficient and exact manner.
  4229.  
  4230. It is recommended that you first fax this form, then call PKWARE customer
  4231. support. Indicate on this form that you will be calling.
  4232.  
  4233. If sending your problem by fax only, please specify how you would like to be
  4234. contacted.
  4235.  
  4236. **Please Print or Type, use "fine" fax mode if possible.**
  4237.  
  4238. Shareware Publishing
  4239. 3a Queen Street     
  4240. Seaton  Devon  EX12 2NY
  4241. 0297 24089  Support Line (12:30pm - 5:30pm Monday-Friday)
  4242. 0297 24091  FAX
  4243.  
  4244.  
  4245. Problem Description
  4246.  
  4247. Be sure to include the following.  Use as many additional sheets as necessary
  4248.  
  4249. -> What you are trying to do
  4250.  
  4251. -> What do you expect to happen
  4252.  
  4253. -> What did happen and why it is a problem
  4254.  
  4255. -> Copies of CONFIG.SYS, AUTOEXEC.BAT and any error messages
  4256.  
  4257.  
  4258.  
  4259.  
  4260.  
  4261.  
  4262.  
  4263.  
  4264.  
  4265.  
  4266.  
  4267.  
  4268.  
  4269.  
  4270.  
  4271.  
  4272.  
  4273.  
  4274.  
  4275. ════════════════════════════════════════════════════════════════════════════
  4276. Shareware Publishing          Trouble Shooting                       105-106
  4277.  
  4278. ERROR MESSAGES
  4279. ════════════════════════════════════════════════════════════════════════════
  4280. The following error messages may appear when using PKZIP. When the word
  4281. "WARNING" appears in the message, program execution will continue. Otherwise
  4282. the program will abort to DOS.
  4283.  
  4284. Each warning message is prefaced with an error code.  This error code consists
  4285. of the letter 'E' or 'W' and a number.  The letter corresponds to whether the
  4286. error indicates a "Warning" or "Error" condition.  The number corresponds to
  4287. the DOS error level that would be returned.
  4288.  
  4289. Errors are listed in order of return code or warning level.
  4290.  
  4291. A brief explanation of each message follows.
  4292.  
  4293.  
  4294.  
  4295. PKZIP Error Messages
  4296. ~~~~~~~~~~~~~~~~~~~~
  4297.  
  4298. PKZIP: (E01) Can't create: XXXXX.
  4299.  
  4300. The named file could not be created.  Either the target directory is full or
  4301. the file already exists and is read-only or locked by another application. On
  4302. a Network you may receive this message if you do not have file creation rights
  4303. in the directory.
  4304.  
  4305.  
  4306. PKZIP: (E[2,3]) XXXXX.ZIP - error in ZIP, use PKZIPFIX.
  4307.  
  4308. The named .ZIP file has a corrupted file index.  Use PKZIPFIX to attempt
  4309. reconstruction of the .ZIP file.  In some cases the damage to the .ZIP file
  4310. may be very extensive.  If the file is too badly damaged PKZIPFIX will not be
  4311. able to recover the file.
  4312.  
  4313. NOTE: Many novice users receive this message because of improper command line
  4314. syntax.  If you specify a command line with only one file name following PKZIP
  4315. and it is NOT a .ZIP file you will receive this message.  PKZIP assumes that
  4316. the file is a .ZIP file because you specified it as the first file name on the
  4317. command line, and it attempts to place all files from the current directory
  4318. into that file.  Upon examination of the file it will not find any .ZIP file
  4319. information (due to its not being a .ZIP file) and will then report this
  4320. message.  Please see the tutorial for further information.
  4321.  
  4322.  
  4323. PKZIP: (E[4-11]) Insufficient memory.
  4324.  
  4325. Insufficient memory is available to process the .ZIP file. Try making more
  4326. memory available to PKZIP.  If this does not rectify the problem then the .ZIP
  4327. file might be corrupted and PKZIPFIX should be used to fix the .ZIP file.  If
  4328. you are creating a new .ZIP file and receive this
  4329.  
  4330.  
  4331. ════════════════════════════════════════════════════════════════════════════
  4332. Shareware Publishing           Error Messages                            107
  4333.  
  4334. message, it is due to an attempt to ZIP a large number of files.  Reduce the
  4335. scope of your command and try again.  If you are using a LIST file in your
  4336. PKZIP command you may be receiving this error because the LIST file is too
  4337. large.  See "List Files" for more information.
  4338.  
  4339. PKZIP:  (E12) No file(s) found.
  4340.  
  4341. No matching files were found to list using the View option.  This means the
  4342. filespec you specified on the command line has no match within the .ZIP file.
  4343.  
  4344. PKZIP: (E12) No files specified for deletion!
  4345.  
  4346. The -d (Delete) option was specified but no filenames were given to delete.
  4347. This option does NOT default to *.* if no filenames are given.  See the -d
  4348. option on page 32 for further information.
  4349.  
  4350. PKZIP: (E12) Nothing to do!
  4351.  
  4352. No matching files, or files with the specified attributes, or files after the
  4353. specified date etc., were found to compress.  Often you will receive this
  4354. message because the command line you entered is not correct.  Check the exact
  4355. name of the file you are specifying as well as the path, if any.
  4356.  
  4357. PKZIP: (E13) Can't find:  XXXXX.ZIP.
  4358.  
  4359. The named .ZIP file could not be found.  Either it does not exist or is not in
  4360. the specified directory.
  4361.  
  4362. PKZIP: (E14) Insufficient disk space for ZIP comment.
  4363.  
  4364. There is insufficient disk space to hold the comment as entered. You will need
  4365. to move the .ZIP file somewhere with more free space, or clear up more storage
  4366. space in its current location.  Note that a temporary copy of the .ZIP file is
  4367. not created.  The .ZIP file comment is appended directly to the existing .ZIP
  4368. file.
  4369.  
  4370. PKZIP: (E14) Insufficient disk space for updated file:  XXXXX.ZIP.
  4371.  
  4372. The -b option was used, and there is not enough space on the original drive
  4373. containing the .ZIP file to receive the updated .ZIP file.  (The update
  4374. operation has added additional or larger files to the .ZIP file, causing it to
  4375. grow larger than the original).  Try to free up some space on the drive
  4376. containing the .ZIP file, and retry the operation.  Also, make sure that the
  4377. drive specified with the -b option is different than the drive containing the
  4378. .ZIP file.
  4379.  
  4380. PKZIP: (E14) Disk full, file:  XXXXX.
  4381.  
  4382. A disk full error occurred while writing to the specified file.  Try freeing
  4383. up some disk space on the target drive.  Also, see the -b option and the PKTMP
  4384. environment variable.
  4385.  
  4386.  
  4387. ════════════════════════════════════════════════════════════════════════════
  4388. 108                            Error Messages                        PKZIP 2
  4389.  
  4390.  
  4391. PKZIP: (E15) Can't open XXXXX.ZIP for write access!
  4392.  
  4393. The named .ZIP file is read-only or locked by another application and can not
  4394. be modified.  This may also occur on a Network drive if you do not have
  4395. adequate access to that file to allow you to modify it.
  4396.  
  4397.  
  4398. PKZIP: (E17) Too many files!
  4399.  
  4400. An attempt was made to compress more than 16,383 files at one time.  This
  4401. message could be received if you update a .ZIP file which has a corrupted
  4402. central end directory.
  4403.  
  4404.  
  4405. PKZIP: (E24) Fatal EMS error: XXXXXXXX
  4406. PKZIP: (E25) Fatal XMS error: XXXXXXXX
  4407.  
  4408. An error has occured in the interaction between PKZIP and your EMS or XMS
  4409. handler.  You may have a faulty EMS/XMS driver.
  4410.  
  4411. To be able to use PKZIP in spite of this problem, disable EMS/XMS usage with
  4412. either the - + or - - option or the configuration file options EMS=DISABLE and
  4413. XMS=DISABLE.
  4414.  
  4415. Please contact PKWARE Technical Support with a description of the situation in
  4416. which the error occured, the brand and version of your EMS driver, and the HEX
  4417. code printed at the end of this error message.
  4418.  
  4419.  
  4420. PKZIP: (E26) Warning!  DOS 3.0 or later needed to span disks
  4421.  
  4422. DOS versions below 3.0 do not support the features needed by PKZIP in order to
  4423. span a .ZIP file across multiple disks.  You will need to upgrade to a newer
  4424. version of DOS in order to make use of this feature.
  4425.  
  4426. PKZIP: (E27) Warning!  Non-removable or unsupported device
  4427.  
  4428. .ZIP files can only be spanned to a device which supports multiple storage
  4429. units (i.e. multiple floppy disks can be inserted in series into a floppy
  4430. drive). The device must also be a standard writable DOS device.  .ZIP files
  4431. may not be spanned onto a device such as a Hard drive which cannot be removed.
  4432.  
  4433.  
  4434.  
  4435.  
  4436.  
  4437.  
  4438.  
  4439.  
  4440.  
  4441.  
  4442.  
  4443. ════════════════════════════════════════════════════════════════════════════
  4444. Shareware Publishing           Error Messages                            109
  4445.  
  4446. PKZIP Warning Messages
  4447. ~~~~~~~~~~~~~~~~~~~~~~
  4448.  
  4449. PKZIP: (W01) Warning!  Can't open XXXXX.CFG
  4450.  
  4451. When PKZIP runs it looks for a configuration file.  The three places that
  4452. PKZIP will look for it's configuration file are: The current directory, the
  4453. directory where PKZIP.EXE is located, and the directory pointed to by the
  4454. environment variable PKZIP.CFG.
  4455.  
  4456. If the PKZIP.CFG environment variable is set, and PKZIP cannot locat a
  4457. configuration file in any of the three places it looks, you will receive this
  4458. error message.
  4459.  
  4460.  
  4461. PKZIP: (W02) Warning!  Can't open XXXXX
  4462.  
  4463. This error usually occurs on Networks where you either do not have read access
  4464. to a file or another process/user has the file open in an exclusive mode.
  4465.  
  4466. If the file is held open by another process you may be able to overcome this
  4467. problem by using the -= switch.
  4468.  
  4469. PKZIP will exit with an error level of 18 when this warning is received.
  4470.  
  4471.  
  4472. PKZIP: (W03) Warning!  Can't delete XXXXX.
  4473.  
  4474. The -m (Move) option was specified to delete files after the .ZIP file was
  4475. constructed.  However, the named file could not be deleted, and is probably
  4476. read-only.  You may also receive this message if the file is on a network
  4477. drive and you do not have access to delete the file, or it is locked by
  4478. another application.
  4479.  
  4480.  
  4481.  
  4482.  
  4483.  
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.  
  4493.  
  4494.  
  4495.  
  4496.  
  4497.  
  4498.  
  4499. ════════════════════════════════════════════════════════════════════════════
  4500. 110                           Error Messages                       PKZIP 2
  4501.  
  4502. PKUNZIP Error Messages
  4503. ~~~~~~~~~~~~~~~~~~~~~~
  4504.  
  4505. PKUNZIP: (E[4-8]) Warning!  Insufficient memory.
  4506.  
  4507. Insufficient memory is available to process the .ZIP file. Try making more
  4508. memory available to PKUNZIP.  If this does not rectify the problem, then the
  4509. .ZIP file might be corrupted, and PKZIPFIX should be used to fix the .ZIP
  4510. file.  The more files present in a .ZIP file, the more memory it will take to
  4511. process the file.
  4512.  
  4513. In some cases the .ZIP file may be too complex.  Too many files are contained
  4514. within the .ZIP file for PKZIP to handle.  This may occur if the .ZIP file is
  4515. created under an operating system other than DOS.
  4516.  
  4517.  
  4518. PKUNZIP: (E09) Can't open: XXXXX.ZIP.
  4519.  
  4520. The named .ZIP or list file(s) could not be found.  It does not exist, was
  4521. spelled incorrectly, or is not in the specified directory.
  4522.  
  4523.  
  4524. PKUNZIP: (E09) Can't find: XXXXX
  4525.  
  4526. PKUNZIP was unable to locate the specified .ZIP or @list file.  The filespec
  4527. specified was in error or a disk error has occured.
  4528.  
  4529.  
  4530. PKUNZIP: (E11) No file(s) found.
  4531.  
  4532. No files were found to extract, test, update or list.  The filespec specified
  4533. on the command line does not match any files present in the .ZIP file, or all
  4534. files found could not be extracted due to an incorrect password or
  4535. incompatible compression type.
  4536.  
  4537.  
  4538. PKUNZIP: (E50) Disk full, file:  XXXXX.
  4539.  
  4540. There is not enough free room on the destination drive/directory for the file
  4541. being extracted.  The program will abort and exit to DOS.
  4542.  
  4543.  
  4544.  
  4545.  
  4546.  
  4547.  
  4548.  
  4549.  
  4550.  
  4551.  
  4552.  
  4553.  
  4554.  
  4555. ════════════════════════════════════════════════════════════════════════════
  4556. Shareware Publishing           Error Messages                            111
  4557.  
  4558. PKUNZIP Warning Messages
  4559. ~~~~~~~~~~~~~~~~~~~~~~~~
  4560.  
  4561. PKUNZIP: (W[01,02]) Warning! File has bad table
  4562.  
  4563. The Imploded file being tested or extracted has an error in its encoding.  The
  4564. file is probably corrupt or not a .ZIP file.  Files that have been damaged in
  4565. this way cannot be recovered.
  4566.  
  4567. PKUNZIP: (W03) Warning! File has bad table
  4568.  
  4569. The Reduced file being tested or extracted has an error in its encoding.  The
  4570. file is probably corrupt or not a .ZIP file.  Files that have been damaged in
  4571. this way cannot be recovered.
  4572.  
  4573. PKUNZIP: (W04) Warning!  XXXXX.ZIP - error in ZIP, use PKZIPFIX.
  4574.  
  4575. The named .ZIP file has a corrupted file index.  Use PKZIPFIX to reconstruct
  4576. the .ZIP file.  You may also receive this message if you attempt to extract a
  4577. file which is not a .ZIP file.
  4578.  
  4579. If the file is less than 22 bytes in length it cannot be a .ZIP file and the
  4580. "use PKZIPFIX" message will not be shown.
  4581.  
  4582. PKUNZIP: (W[05-07]) Warning! Insufficient memory
  4583.  
  4584. Insufficient memory is available to process the .ZIP file. Try making more
  4585. memory available to PKUNZIP.  If this does not rectify the problem, then the
  4586. .ZIP file might be corrupted, and PKZIPFIX should be used to fix the .ZIP
  4587. file.  The more files present in a .ZIP file, the more memory it will take to
  4588. process the file.
  4589.  
  4590. In some cases the .ZIP file may be too complex.  Too many files are contained
  4591. within the .ZIP file for PKZIP to handle.  This may  occur if the .ZIP file
  4592. was created under an operating system other than DOS.
  4593.  
  4594. PKUNZIP: (W08) Warning!  Can't open XXXXX.ZIP
  4595. PKUNZIP: (W09) Warning!  Can't open printer device
  4596.  
  4597. The named file or printer device could not be opened.  Either a disk error
  4598. occurred, or the file is locked by another application.  You may receive this
  4599. error on a network drive if you do not have read access to that file.
  4600.  
  4601. The printer device may not exist, or may be off-line.
  4602.  
  4603. PKUNZIP: (W10) Warning!  Can't create: XXXXX.
  4604. PKUNZIP: (W10) Warning!  Invalid file name: XXXXX.
  4605.  
  4606. The named file could not be created.  The output directory is invalid because
  4607. it does not exist, is spelled incorrectly, or is full.  You may also receive
  4608. this message on a Network drive if you do not have file creation rights there
  4609. or the directory is full.
  4610.  
  4611. ════════════════════════════════════════════════════════════════════════════
  4612. 112                           Error Messages                       PKZIP 2
  4613.  
  4614. In the case of an invalid file name error, the name stored in the .ZIP file is
  4615. invalid.  This may indicate a damaged .ZIP file, or one that has been tampered
  4616. with.
  4617.  
  4618. PKUNZIP: (W11) Warning!  I don't know how to handle:  XXXXX.
  4619.  
  4620. The file XXXXX is compressed or encoded in a way that this version of PKUNZIP
  4621. is unable to handle.  Either a different version of PKUNZIP is required to
  4622. properly extract this file, or the .ZIP file is possibly corrupted.
  4623.  
  4624. PKUNZIP: (W12) Skipping encrypted file.
  4625.  
  4626. Only the files that are password protected will be skipped (not extracted)
  4627. because they are encrypted and the correct password was not entered.
  4628.  
  4629. PKUNZIP: (W13) Warning!  Inconsistent local header for file:  XXXXX.
  4630.  
  4631. The local header for file XXXXX is different than the central header
  4632. information.  Use PKZIPFIX to reconstruct the .ZIP file.
  4633.  
  4634. PKUNZIP: (W14) Incorrect password for file.
  4635.  
  4636. The .ZIP file is password protected, and cannot be opened unless the correct
  4637. password is entered.  The password entered is not the correct password.  See
  4638. "Passwords" in the Advanced Features section for further information.
  4639.  
  4640. PKUNZIP: (W15) Warning!  File fails CRC check.
  4641.  
  4642. The CRC-32 check for the file being extracted or tested did not match the
  4643. stored value for the file.  The file is probably corrupted.  See the "Trouble
  4644. Shooting" section for more details.
  4645.  
  4646. PKUNZIP: (W16) Warning! File fails Authenticity Verification check
  4647.  
  4648. The .ZIP file is AV encoded but the AV could not be verified. Failure of AV
  4649. indicates a file which has been tampered with or damaged.  If the file has
  4650. failed the AV check the contents are suspect.
  4651.  
  4652. PKUNZIP: (W17) Warning! File fails Authenticity Verification check
  4653.  
  4654. The .ZIP file is AV encoded and has been tampered with or damaged.  File
  4655. should be discarded and a new copy obtained.
  4656.  
  4657. PKUNZIP: (W18) Warning!  File XXXXX already exists.  Overwrite (y/n/a/r)?
  4658.  
  4659. The file XXXXX already exists on the disk.  Pressing N will leave the original
  4660. file on the disk, and not extract the file from the .ZIP file.  Pressing Y
  4661. will extract the file from the .ZIP file, and overwrite the file on the disk.
  4662. If you want to overwrite this file, and ALL FOLLOWING FILES, press A for ALL.
  4663. If you wish to extract this file, but not overwrite an existing file, you may
  4664. press R for RENAME.  PKUNZIP will prompt you for a new name for the file.  See
  4665. Also: -o and -n options.
  4666.  
  4667. ════════════════════════════════════════════════════════════════════════════
  4668. Shareware Publishing           Error Messages                            113
  4669.  
  4670.  
  4671. PKUNZIP: (W19) Warning!  Invalid Shrunk file
  4672.  
  4673. The Shrunk file being tested or extracted has an error in its encoding.  The
  4674. file is probably corrupt or not a .ZIP file.  Files that have been damaged in
  4675. this way cannot be recovered.
  4676.  
  4677. PKUNZIP: (W20) Warning! Insufficient memory
  4678.  
  4679. Insufficient memory is available to process the .ZIP file. Try making more
  4680. memory available to PKUNZIP.  If this does not rectify the problem, then the
  4681. .ZIP file might be corrupted, and PKZIPFIX should be used to fix the .ZIP
  4682. file.  The more files present in a .ZIP file, the more memory it will take to
  4683. process the file.
  4684.  
  4685. PKUNZIP: (W21) Warning!  File has bad table.
  4686.  
  4687. The Deflated file being tested or extracted has an error in its encoding.  The
  4688. file is probably corrupt or not a .ZIP file.  Files that have been damaged in
  4689. this way cannot be recovered.
  4690.  
  4691. PKUNZIP: (W23) Warning!  File has bad table.
  4692.  
  4693. The Deflated file being tested or extracted has an error in its encoding (bad
  4694. block type).  The file is probably corrupt or not a .ZIP file.  Files that
  4695. have been damaged in this way cannot be recovered.
  4696.  
  4697. PKUNZIP: (W24) Warning!
  4698. You need PKUNZIP version: X.X or later to extract XXXXX
  4699.  
  4700. The file XXXXX is compressed or encoded in a way that this version of PKUNZIP
  4701. is unable to handle.  A more recent version of PKUNZIP is required to properly
  4702. extract this file.  The version number is listed as X.X.  Contact PKWARE for
  4703. upgrade information.
  4704.  
  4705. PKUNZIP: (W25) Warning! .ZIP file comment too big
  4706.  
  4707. The file comment attached to this .ZIP file is too large.  The .ZIP file can
  4708. still be handled normally but will not be displayed.
  4709.  
  4710. PKUNZIP: (W26) XXXXX.ZIP has errors.
  4711.  
  4712. The named .ZIP file had one or more errors detected in it.  This message is
  4713. displayed after PKUNZIP is finished acting upon a file.  You may receive this
  4714. message if you attempt to extract a file that is not a .ZIP file.
  4715.  
  4716.  
  4717.  
  4718.  
  4719.  
  4720.  
  4721.  
  4722.  
  4723. ════════════════════════════════════════════════════════════════════════════
  4724. 114                           Error Messages                       PKZIP 2
  4725.  
  4726.  
  4727. ZIP2EXE Error Messages
  4728. ~~~~~~~~~~~~~~~~~~~~~~
  4729.  
  4730. ZIP2EXE: (E01) Error in .ZIP file
  4731. ZIP2EXE: (E02) Error in .ZIP file, use PKZIPFIX
  4732.  
  4733. The .ZIP file you are attempting to process is corrupt.  You may attempt
  4734. recovery of the file by using PKZIPFIX.  PKZIPFIX will work on either standard
  4735. .ZIP files or self-extracting .EXE files.
  4736.  
  4737. ZIP2EXE: (E03-04) Insufficient memory to process file
  4738.  
  4739. The .ZIP file you are attempting to process is too complex.  This may indicate
  4740. a .ZIP file which contains too many files.  In some cases you may receive this
  4741. error because the file being processed is corrupt.
  4742.  
  4743. ZIP2EXE: (E07) Can't open Source file
  4744.  
  4745. The source .ZIP or .EXE file specified on the command line cannot be opened
  4746. due to a disk error or insufficient network access.
  4747.  
  4748. ZIP2EXE: (E08) Error in .ZIP file
  4749.  
  4750. The .ZIP file you are attempting to process is corrupt.  You may attempt
  4751. recovery of the file by using PKZIPFIX.  PKZIPFIX will work on either standard
  4752. .ZIP files or self-extracting .EXE files.
  4753.  
  4754. ZIP2EXE: (E09) Disk full writing target file during EXE to ZIP process
  4755. ZIP2EXE: (E11) Disk full writing target file during ZIP to EXE process
  4756.  
  4757. During the process of converting a file there must be enough disk space
  4758. available to contain both the original file and the file which will be
  4759. created.  If there is not enough room to process the file on the current drive
  4760. you may direct the output to another drive by specifying it on the command
  4761. line.
  4762.  
  4763. ZIP2EXE: (E12) Compression method not supported
  4764.  
  4765. The .ZIP file being converted contains a file compressed with a method not
  4766. supported by the version of PKSFX being attached by ZIP2EXE.
  4767.  
  4768. You can only perform the ZIP2EXE process on .ZIP files created using the
  4769. compression method(s) supported by the self-extracting module you are
  4770. attaching.
  4771.  
  4772.  
  4773.  
  4774.  
  4775.  
  4776.  
  4777.  
  4778.  
  4779. ════════════════════════════════════════════════════════════════════════════
  4780. Shareware Publishing           Error Messages                            115
  4781.  
  4782. PKSFX  Warning/Error Messages
  4783. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4784.  
  4785. PKSFX: (W01) File fails CRC checkPKSFX: (W01) Unknown compression method
  4786.  
  4787. A warning may indicate any of several problems.  See the corresponding PKUNZIP
  4788. error message for explanation.
  4789.  
  4790. PKSFX: (E03) Can't find .EXE file
  4791.  
  4792. The self-extractor was unable to locate itself.  When the self-extractor runs
  4793. it must determine what the name of its executable file is. Anything which can
  4794. prevent this from happening will generate this error.
  4795.  
  4796. This error usually indicates an incorrect installation of DOS on the target
  4797. machine.
  4798.  
  4799. PKSFX: (E[4-8]) Insufficient memory
  4800.  
  4801. Insufficient memory is available to process the .ZIP file. Try making more
  4802. memory available to the Self-extractor.  If this does not rectify the problem,
  4803. then the self-extracting file might be corrupted, and PKZIPFIX should be used
  4804. to fix the .EXE file.  The more files present in a self-extracting .ZIP file,
  4805. the more memory it will take to process the file.
  4806.  
  4807. PKSFX: (E09) Unable to locate listfile
  4808.  
  4809. The @list file specified on the command line could not be found.
  4810.  
  4811. PKSFX: (E13) Error in .EXE file
  4812.  
  4813. The self-extracting file is corrupt.  This may occur due to a disk error, a
  4814. transmission error, or a software problem.
  4815.  
  4816. PKSFX: (E50) Disk full
  4817.  
  4818. The self-extractor has run out of space while extracting the files it
  4819. contains.  You may either free up more disk space or direct the self-extractor
  4820. to place the files on a different drive.
  4821.  
  4822.  
  4823.  
  4824.  
  4825.  
  4826.  
  4827.  
  4828.  
  4829.  
  4830.  
  4831.  
  4832.  
  4833.  
  4834.  
  4835. ════════════════════════════════════════════════════════════════════════════
  4836. 116                           Error Messages                       PKZIP 2
  4837.  
  4838. PKSFX/PKUNZIP Junior Error Messages
  4839. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4840.  
  4841. PKSFXJR: (W01) Warning error
  4842.  
  4843. A warning may indicate any of several problems.  See the corresponding PKUNZIP
  4844. error message for explanation.
  4845.  
  4846. PKSFXJR: (W02) Can't find .EXE file
  4847.  
  4848. The self-extractor was unable to locate itself.  When the self-extractor runs
  4849. it must determine what the name of its executable file is. Anything which can
  4850. prevent this from happening will generate this error.
  4851.  
  4852. This error usually indicates an incorrect installation of DOS on the target
  4853. machine.
  4854.  
  4855. PKSFXJR: (W03) Error in .EXE file
  4856.  
  4857. The self-extracting file is corrupt.  This may occur due to a disk error, a
  4858. transmission error, or a software problem.
  4859.  
  4860. PKSFXJR: (W04) File has a bad table
  4861.  
  4862. The compressed data is corrupt.  This can indicate a damaged self-extracting
  4863. file or data that was originally corrupt when the self-extracting file was
  4864. created.
  4865.  
  4866. PKSFXJR: (W05) Can't create file
  4867.  
  4868. The self-extractor was unable to create a file it intended to extract.  This
  4869. may occur because you either do not have sufficient rights to a directory, or
  4870. because all the directory entries are full.
  4871.  
  4872. PKSFXJR: (W06) Disk full
  4873.  
  4874. The self-extractor has run out of space while extracting the files it
  4875. contains.  You may either free up more disk space or direct the self-extractor
  4876. to place the files on a different drive.
  4877.  
  4878. PKSFXJR: (W07) Too many files
  4879.  
  4880. A junior self-extractor may only contain 512 or fewer files.  This error
  4881. indicates either that more than 512 files are within the self-extractor or
  4882. that the file is corrupt.
  4883.  
  4884.  
  4885.  
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891. ════════════════════════════════════════════════════════════════════════════
  4892. Shareware Publishing           Error Messages                            117
  4893.  
  4894. Error Levels
  4895. ~~~~~~~~~~~~
  4896.  
  4897. In order to enhance the power of using PKZIP and PKUNZIP from within another
  4898. program or within a batch file, they return error levels.  These error levels
  4899. are listed below.
  4900.  
  4901. **  Please note that if testing error levels in a batch file, DOS tests the
  4902.     error level not for equality, but for greater than or equal to.
  4903.  
  4904.  
  4905. PKZIP:
  4906.      0     No error.
  4907.      1     Bad file name or file specification.
  4908.      2,3   Error in .ZIP file.
  4909.      4-11  Insufficient Memory.
  4910.      12    No files were found to add to the .ZIP file, or no files
  4911.             were specified for deletion.
  4912.      13    File not found.  The specified .ZIP file or list file was
  4913.            not found.
  4914.      14    Disk full.
  4915.      15    .ZIP file is read-only and can not be modified.
  4916.      16    Bad or illegal parameters specified. (help screen displayed)
  4917.      17    Too many files.
  4918.      18    Could not open file.
  4919.      255   User pressed control-c or control-break
  4920.  
  4921.  
  4922. PKUNZIP:
  4923.      0     No error.
  4924.      1     Warning error (such as failed CRC check).
  4925.      2,3   Error in .ZIP file.
  4926.      4-8   Insufficient Memory.
  4927.      9     File not found.  No .ZIP files found.
  4928.      10    Bad or illegal parameters specified. (help screen displayed)
  4929.      11    No files found to extract/view etc.
  4930.      50    Disk Full.
  4931.      51    Unexpected EOF in .ZIP file.
  4932.      255   User pressed control-c or control-break
  4933.  
  4934.  
  4935.  
  4936.  
  4937.  
  4938.  
  4939.  
  4940.  
  4941.  
  4942.  
  4943.  
  4944.  
  4945.  
  4946.  
  4947. ════════════════════════════════════════════════════════════════════════════
  4948. 118                           Error Messages                       PKZIP 2
  4949.  
  4950.  
  4951. ZIP2EXE:
  4952.      0     No error
  4953.      1     Error in .ZIP file
  4954.      2     Error in .ZIP file, use PKZIPFIX
  4955.      3-4   Insufficient memory to process file
  4956.      7     Can't open Source file
  4957.      8     Error in .ZIP file
  4958.      9     Disk full writing target file during EXE to ZIP process
  4959.      11    Disk full writing target file during ZIP to EXE process
  4960.      12    .ZIP file being converted contains a file compressed with a
  4961.            method not supported by the version of PKSFX being
  4962.            attached by ZIP2EXE
  4963.      13    User answered "NO" in response to an "overwrite(y/n)?" prompt
  4964.  
  4965.  
  4966. PKSFX:
  4967.      1     Warning error such as:
  4968.            File fails CRC check, Unknown compression method.
  4969.      3     Can't find .EXE file
  4970.      4-8   Insufficient memory
  4971.      9     Unable to located listfile
  4972.      12    User aborted at comment pausing "Extract now (y/n)?" prompt
  4973.      13    Error in .EXE file
  4974.      50    Disk full
  4975.  
  4976.  
  4977. PKSFX/PKUNZIP Junior:
  4978.      1     Warning error such as:
  4979.            File fails CRC check, Unknown compression method.
  4980.      2     Can't find .EXE file
  4981.      3     Error in .EXE file
  4982.      4     File has a bad table
  4983.      5     Can't create file
  4984.      6     Disk full
  4985.      7     Too many files
  4986.      8     User aborted at comment pausing "Extract now (y/n)?" prompt
  4987.  
  4988.  
  4989.  
  4990.  
  4991.  
  4992.  
  4993.  
  4994.  
  4995.  
  4996.  
  4997.  
  4998.  
  4999.  
  5000.  
  5001.  
  5002.  
  5003. ════════════════════════════════════════════════════════════════════════════
  5004. Shareware Publishing           Error Messages                            119
  5005.  
  5006. PK SAFE ANSI
  5007. ════════════════════════════════════════════════════════════════════════════
  5008. PKSFANSI.COM
  5009.  
  5010. PKSFANSI (PK Safe ANSI) is a Terminate and Stay Resident program that disables
  5011. ANSI Keyboard Key Reassignments, thereby preventing "ANSI bombs" embedded in
  5012. any text file (such as README files) or output by any program.
  5013.  
  5014. Normally, ANSI sequences that redefine the keyboard could be hidden inside ANY
  5015. text file or program, and could be executed completely unnoticed until it is
  5016. too late.  PKSFANSI intercepts calls to the ANSI.SYS or other ANSI device
  5017. drivers, and filters out any keyboard reassignments, while allowing other ANSI
  5018. sequences through unaltered.
  5019.  
  5020. If a keyboard key reassignment is attempted, PKSFANSI will intercept the
  5021. sequence and discard it.  PKSFANSI also will BEEP to alert you that a
  5022. reassignment was attempted.
  5023.  
  5024. PKSFANSI requires less than 1k bytes resident RAM, and should work with any
  5025. ANSI driver, such as the standard ANSI.SYS driver, NANSI, ZANSI, DVANSI, etc.
  5026. Note that if you use a memory resident ANSI driver, such as the DESQview
  5027. DVANSI.COM driver, PKSFANSI should be loaded after the ANSI driver is loaded.
  5028.  
  5029. Usage
  5030.  
  5031. Add PK Safe ANSI to your AUTOEXEC.BAT command file.  Early in your
  5032. AUTOEXEC.BAT file add the line:
  5033.  
  5034.    C:\PKWARE\PKSFANSI.COM This will cause the PK Safe ANSI TSR to be
  5035.  
  5036. loaded into memory, allowing you to safely use ANSI codes.  Once this is
  5037. installed you may wish to turn on ANSI in your PKZIP configuration file. There
  5038. should be this line present in your PKZIP.CFG file:
  5039.  
  5040.    ANSI=ENABLED
  5041.  
  5042. To turn on ANSI for a particular PKZIP operation, or for a PKUNZIP operation,
  5043. use the command option -q.
  5044.  
  5045.    pkunzip -v test.zip -q
  5046.  
  5047.  
  5048.  
  5049.  
  5050.  
  5051.  
  5052.  
  5053.  
  5054.  
  5055.  
  5056.  
  5057.  
  5058.  
  5059. ════════════════════════════════════════════════════════════════════════════
  5060. 120                            PK SAFE ANSI                          PKZIP 2
  5061.  
  5062.  
  5063. Monochrome
  5064.  
  5065. Option PK Safe ANSI has one option.  This option will cause PK Safe ANSI to
  5066. discard colour codes.  This is useful if you are using a laptop computer with a
  5067. monochrome display.
  5068.  
  5069.    PKSFANSI -c
  5070.  
  5071. Please note that this only affects programs which use ANSI for their display
  5072. control.
  5073.  
  5074. NOTE: PK Safe Ansi is included with the registered version of the software.
  5075.  
  5076.  
  5077.  
  5078.  
  5079.  
  5080.  
  5081.  
  5082.  
  5083.  
  5084.  
  5085.  
  5086.  
  5087.  
  5088.  
  5089.  
  5090.  
  5091.  
  5092.  
  5093.  
  5094.  
  5095.  
  5096.  
  5097.  
  5098.  
  5099.  
  5100.  
  5101.  
  5102.  
  5103.  
  5104.  
  5105.  
  5106.  
  5107.  
  5108.  
  5109.  
  5110.  
  5111.  
  5112.  
  5113.  
  5114.  
  5115. ════════════════════════════════════════════════════════════════════════════
  5116. Shareware Publishing            PK SAFE ANSI                             121
  5117.  
  5118.  
  5119. INDEX
  5120. ════════════════════════════════════════════════════════════════════════════
  5121.  
  5122.  
  5123. -! Use AV feature                              44
  5124.  
  5125. 32-bit Instructions, Disabling                 102
  5126. 386/486 Instructions                           See 32-Bit 102
  5127. @List files                                    45
  5128. @List                                          See List Files
  5129.  
  5130.  ---
  5131. | A |
  5132.  ---
  5133.  
  5134. Addendum File                                  7
  5135. ANSI
  5136.        Comments, enabling
  5137.      and disabling                         37
  5138.        Enabling during PKUNZIP                 52
  5139. Archive file structure                         95
  5140. Archive attribute
  5141.        -a+ Turn off archive attribute
  5142.      of added files                        30
  5143.        Defined                                 34
  5144.        Clearing                                30
  5145.        Turning off (-i)                        34
  5146. Attrib DOS command                             27
  5147. Authenticity Verification                      See AV
  5148. AUTOEXEC.BAT, Changes to                       6
  5149. AV
  5150.        Application form                        81
  5151.        Defined                                 78, 85
  5152.        Using                                   78, 79
  5153.        PUTAV                                   78
  5154.  
  5155.  ---
  5156. | B |
  5157.  ---
  5158.  
  5159. Bad Command or Filename                        82
  5160. Bad Table                                      89
  5161. Banner, PKZIP                                  10, 23
  5162. BBS
  5163.        PKWARE                                  3
  5164.        Support Conferences                     3
  5165. Bracket
  5166.        Angle                                   2
  5167.        Square                                  2
  5168. Brief View                                     40
  5169.  
  5170.  ---
  5171. | C |
  5172.  ---
  5173.  
  5174. Cache failure (CPU)                            Slow MemCopy 104
  5175. Checking a .ZIP file                           See Testing
  5176. Command Syntax                                 2
  5177. Comment
  5178.        .ZIP file                               27 - 28, 43-44
  5179.        Adding                                  31
  5180.        Displaying                              28
  5181.        Maximum size                            28, 43
  5182.        Per file                                27
  5183. Compatibility mode                             47
  5184. Compression
  5185.        Displaying method                       41
  5186.        How it works                            91-95
  5187.        Lossy and Lossless                      83
  5188.        Specifying Method                       32
  5189.        Speed vs. Size                          21-23
  5190.        Theory                                  91-95
  5191.        Type                                    23
  5192. Configuration options                          76
  5193. Configuring PKZIP                              74-77
  5194. Console, extracting file to                    48
  5195. Conventions                                    1
  5196. CRC
  5197.        Defined                                 11
  5198.        Failures explained                      87
  5199.        Failures, disabling 32-bit
  5200.      instructions                          102
  5201.        Viewing                                 40-41
  5202. Creating file comments                         31
  5203. Customer Support                               3, 105-106
  5204. Customer Support Form                          106
  5205. Cyclic Redundancy Check                        See CRC
  5206.  
  5207.  ---
  5208. | D |
  5209.  ---
  5210.  
  5211. Date
  5212.        Compressing by range                    38-39
  5213.        Format                                  38-39
  5214.        of .ZIP file                            36
  5215. Delete
  5216.        Files while compressing                 32, 12-13
  5217.        From a .ZIP file                        19,32
  5218.        Files with a list file                  67
  5219. Directory
  5220.        of a .ZIP file                          40-41
  5221.        Restoring structure                     48-49
  5222.                            See also Path
  5223. Disable ANSI                                   37
  5224. Disk Full, Overcoming                          30-31
  5225. Disk Space, Conserving                         30-31, 32
  5226. Don't Know How to Handle                       86
  5227. DPMI, Disabling                                104
  5228.  
  5229.  ---
  5230. | E |
  5231.  ---
  5232.  
  5233. EMS, Disabling                                 103
  5234. Encryption                                     38
  5235.        Decrypting encrypted files              53
  5236.        Lost password, what to do.              86
  5237.        Security                                72-73
  5238.        Using                                   68
  5239. Error Levels
  5240.   (Exit Codes)                                 118
  5241.        PKSFX                                   119
  5242.        PKSFX/PKUNZIP Junior                    119
  5243.        PKUNZIP                                 118
  5244.        PKZIP                                   118
  5245.        ZIP2EXE                                 119
  5246. Error Messages                                 107 - 119
  5247.        Error Levels                            118
  5248.        PKSFX                                   116
  5249.        PKSFX Junior                            117
  5250.        PKUNZIP                                 111-114
  5251.        PKUNZIP Junior                          117
  5252.        PKZIP                                   107-109
  5253.        ZIP2EXE                                 115
  5254.  
  5255. Exclude
  5256.        Files from extraction                   55
  5257.        From ZIP process                        43
  5258.        List files from extraction
  5259.      process                               55
  5260.        List files from ZIP process             43
  5261. Exit Codes                                     See Error Levels
  5262. Extra Compression                              32-33
  5263. Extract
  5264.        Files to printer                        52
  5265.        In sorted order                         49-50
  5266.        Newer files only                        51
  5267.        To console                              48
  5268. Extracting files                               13
  5269.  
  5270.  ---
  5271. | F |
  5272.  ---
  5273.  
  5274. Fast Compression                               32-33
  5275. File Attributes
  5276.        Defined                                 26
  5277.        Masking                                 34-35
  5278.        Masking during extraction               51
  5279.        Restoring during extraction             51
  5280.        Retaining                               34-35
  5281.        Storing                                 26
  5282.        Viewing                                 40-41
  5283. File Comments                                  27-28
  5284. File List                                      See List File
  5285. Freshen                                        83
  5286.        a .ZIP file                             33-34
  5287.        Files in extract directory              50
  5288.  
  5289.  ---
  5290. | H |
  5291.  ---
  5292.  
  5293. Help
  5294.        Displaying help screen (-h)             34, 50
  5295.        For PKUNZIP (-h)                        50
  5296.        Trouble Shooting                        101 - 106
  5297. Hidden Files                                   34-35
  5298.        Compressing                             26, 42
  5299.        Restoring                               51
  5300.  
  5301.  ---
  5302. | I |
  5303.  ---
  5304.  
  5305. Inconsistent Local Header                      89
  5306. Information Content                            91-92
  5307. Installation                                   5 - 7
  5308.  
  5309.  ---
  5310. | J |
  5311.  ---
  5312.  
  5313. Junior
  5314.        Error Messages                          117
  5315.        PKSFX                                   57-58
  5316.        PKUNZIP                                 58
  5317.  
  5318.  ---
  5319. | L |
  5320.  ---
  5321.  
  5322. Label, Volume                                  See Volume Label
  5323. List Files
  5324.        Excluding                               43
  5325.        @List File                              45
  5326.        Excluding from Extraction               55
  5327.        Generating                              46-47, 56, 65
  5328.        Maximum size                            45, 66
  5329.        Possible contents of                    63
  5330.        Reading                                 64-65
  5331.        Specifying                              44-45
  5332.        Using for compression                   64
  5333. Locked files, Overcoming with -=               47
  5334.  
  5335.  ---
  5336. | M |
  5337.  ---
  5338.  
  5339. Manual Conventions                             1
  5340. Maximum
  5341.        Number of files in a .ZIP file          89
  5342.        Size of .ZIP file comment               43-44
  5343.        Size of list file                       45, 66
  5344. Maximum Compression                            32-33
  5345. Memory
  5346.        Requirements of PKSFX                   62
  5347.        Usage of PKZIP                          89
  5348. Multi-Volume                                   See also PKZIP Backup Guide
  5349.  
  5350.  ---
  5351. | N |
  5352.  ---
  5353.  
  5354. Network
  5355.        Disabling Network detection             103-104
  5356.        Failure of PKZIP on server              88
  5357.        Overcoming file locking                 47
  5358. Never overwrite files                          51
  5359. New files, Extracting                          51
  5360. Normal Compression                             32-33
  5361.  
  5362.  ---
  5363. | O |
  5364.  ---
  5365.  
  5366. Optimizing PKZIP                               89
  5367. Order
  5368.        of extraction                           49-50
  5369.        of View sort                            40-42
  5370. Overwriting files (-o)                         51
  5371.  
  5372.  ---
  5373. | P |
  5374.  ---
  5375.  
  5376. Password                                       See Encryption
  5377. Path
  5378.        Defined                                 5
  5379.        Extracting from a .ZIP file             18
  5380.        Modifying                               6
  5381.        Restoring                               84
  5382.        Restoring structure                     48-49
  5383.        Storing                                 36-37
  5384.        Storing in a .ZIP file                  16
  5385.        Storing with recursion                  37-38
  5386. PK Safe ANSI                                   120
  5387. PKSFX
  5388.        Command Summary                         59
  5389.        Creating a Self-Extracting file         57
  5390.        Error Messages                          116
  5391.        Junior                                  57-58
  5392.        Legal Use of                            61
  5393.        Memory Requirements                     62
  5394.        Options                                 59
  5395.        Sending to somone else                  60-61
  5396. PKTMP                                          47, 89
  5397.  
  5398. PKUNZIP
  5399.        -$ Restore Volume Label                 55
  5400.        -@ Generate List file                   56
  5401.        -c extract files to console             48
  5402.        -d Restore directory structure          48-49
  5403.        -e Sorted extraction                    49-50
  5404.        -f Freshen extract directory            50
  5405.        -j Mask of file attributes              51
  5406.        -n Extract only newer files             51
  5407.        -o Overwriting files                    51
  5408.        -o- Never overwrite files               51
  5409.        -p Extract files to the printer         52
  5410.        -q ANSI disabling/enabling              52-53
  5411.        -s Extract encrypted files              53
  5412.        -t Test .ZIP file integrity             54
  5413.        -v View a .ZIP file                     55
  5414.        -x Exclude files                        55
  5415.        Error Messages                          111
  5416.        Junior                                  58
  5417.        Warning Messages                        112-114
  5418.  
  5419. PKZIP
  5420.        -! Use AV                               44
  5421.        -$ Store Volume label                   46
  5422.        -& Create multi-volume archive          45-46
  5423.        -= File compatibility mode              47
  5424.        -@ generate List file                   46
  5425.        -a+ Turn off archive attribute
  5426.         of added files                     30
  5427.        -ac Create/Edit file comments           31-32
  5428.        -b Create temporary .ZIP file           30-31
  5429.        -C Add file comments to new
  5430.         files only                         31-32
  5431.        -c Create/Edit file comments            31-32
  5432.        -d Deleting files from a .ZIP file      32
  5433.        -e[x|n|f|s|0] Specify
  5434.        compression method                  32-33
  5435.        -f Freshen file in a .ZIP file          33-34
  5436.        -i Add files that have the
  5437.       archive attribute                    34
  5438.        -jh,r,s Specify masking of file
  5439.       attributes  34-35
  5440.        -k Retain original .ZIP file date       35
  5441.        -m Move file                            35-36
  5442.        -o Set .ZIP file date                   36
  5443.        -P Preserve specified and
  5444.        recursed path                       36-37
  5445.        -q ANSI comments                        37
  5446.        -r Recurse subdirectories               37-38
  5447.        -s Encrypt files                        38
  5448.  
  5449.        -t Take files according to date         38-39
  5450.        -u Update files                         39-40
  5451.        -v View files                           40-42
  5452.        -W Specify hidden and
  5453.        system files                        42-43
  5454.        -x Exclude files                        43
  5455.        -z Create or modify .ZIP file
  5456.        comment                             43-44
  5457.        @ specify list file                     45
  5458.        Banner                                  23
  5459.        Configuration file                      74-77
  5460.        Error Messages                          107-109
  5461.        How does it work?                       91-100
  5462.        Simple Commands                         10
  5463.        Warning Messages                        110
  5464. PKZIP Configuration File                       75
  5465. PKZIP Configuration Program                    74
  5466. PKZIP.CFG                                      75
  5467. PKZIPFIX                                       See the PKZIP Backup Guide
  5468. Printer, Extracting files to                   24, 52
  5469. Printer Dump                                   24
  5470. Product Support                                3
  5471. PUTAV                                          See AV
  5472.  
  5473.  ---
  5474. | R |
  5475.  ---
  5476.  
  5477. Read Only
  5478.        Defined                                 26
  5479.        Files                                   34-35
  5480.        Restoring files                         51
  5481.        Storage of attribute                    26
  5482. Reading, Suggested                             29
  5483. Recurse subdirectories                         37-38
  5484. Restoring Volume Label                         55
  5485.  
  5486.  ---
  5487. | S |
  5488.  ---
  5489.  
  5490. Scramble                                       See Encryption
  5491. Self-extracting                                57
  5492. Sort
  5493.        Order of extraction                     49-50
  5494.        Order of View                           40-42
  5495. Speed Of Compression                           21
  5496. Speed vs. Size, Theory                         21, 95
  5497. Storing (archive method)                       32-33
  5498. Subdirectories                                 84
  5499.        Storing                                 36-38
  5500. Suggested Reading                              29
  5501. Super Fast compression                         32-33
  5502. Support, Technical                             3
  5503. Syntax                                         2
  5504. System Files                                   34-35
  5505.        Restoring                               51
  5506.        Compressing                             42-43
  5507.  
  5508.  ---
  5509. | T |
  5510.  ---
  5511.  
  5512. Technical Support, CompuServe                  3
  5513. Technical View                                 40-42
  5514. Temporary  .ZIP file location                  30-31
  5515. Testing                                        15, 54
  5516.        .ZIP files                              54
  5517. Tree   Storing structure                       18-19
  5518. Tutorial                                       8 - 29
  5519.  
  5520.  ---
  5521. | U |
  5522.  ---
  5523.  
  5524. Update                                         83
  5525.        See also Freshen
  5526.        Update files                            39-40
  5527.  
  5528.  ---
  5529. | V |
  5530.  ---
  5531.  
  5532. View
  5533.        a .ZIP file                             11-12
  5534.        Compressed files                        25
  5535.        Options                                 40-42
  5536.        Sort order                              42
  5537. Volume Label
  5538.        Defined                                 25
  5539.        Restoring                               55
  5540.        Saving and Restoring                    25
  5541.        Storing                                 46
  5542.  
  5543.  ---
  5544. | W |
  5545.  ---
  5546.  
  5547. Wildcards
  5548.        Defined                                 8
  5549.                            See DOS manual for usage
  5550.  ---
  5551. | X |
  5552.  ---
  5553.  
  5554. XMS, Disabling                                 103
  5555.  
  5556.  ---
  5557. | Z |
  5558.  ---
  5559.  
  5560. .ZIP file , Date                               35
  5561. .ZIP file comment                              43-44
  5562. ZIP2EXE                                        57
  5563.        Error Messages                          115
  5564.  
  5565.  
  5566.